ld: pru: Fix resource_table output section alignment
My commit 261980de added alignment for the resource table symbol. But it is wrong. The Linux remoteproc driver loads and interprets the contents of the .resource_table ELF section, not of a table symbol. Without this patch, if the linker happens to output padding for symbol alignment, then the resource table contents as viewed by the kernel loader would "shift" and look corrupted. ld/ChangeLog: * scripttempl/pru.sc (.resource_table): Align the output section, not the first symbol. Signed-off-by:Dimitar Dimitrov <dimitar@dinux.eu> (cherry picked from commit 5109a7bd)
Loading
Please register or sign in to comment