Skip to content
Commit 5109a7bd authored by Dimitar Dimitrov's avatar Dimitar Dimitrov
Browse files

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: default avatarDimitar Dimitrov <dimitar@dinux.eu>
parent 9279eb5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment