diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-06-11 12:17:34 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-06-21 21:05:29 (GMT) |
commit | 47bd65ef057fb71b02b32741d5cfcaf03e2f0918 (patch) | |
tree | b7313f7c7dda622ae418450fda27b0eda95ac480 /arch/arm/cpu/ixp | |
parent | d026dec8751378473b4f12eb87717c8059472b3e (diff) | |
download | u-boot-fsl-qoriq-47bd65ef057fb71b02b32741d5cfcaf03e2f0918.tar.xz |
arm: make __rel_dyn_{start, end} compiler-generated
This change is only done where needed: some linker
scripts may contain relocation symbols yet remain
unchanged.
__rel_dyn_start and __rel_dyn_end each requires
its own output section; putting them in relocation
sections changes their flags and breaks relocation.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Tested-by: Lubomir Popov <lpopov@mm-sol.com>
Tested-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'arch/arm/cpu/ixp')
-rw-r--r-- | arch/arm/cpu/ixp/u-boot.lds | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/cpu/ixp/u-boot.lds b/arch/arm/cpu/ixp/u-boot.lds index 9141199..54bafda 100644 --- a/arch/arm/cpu/ixp/u-boot.lds +++ b/arch/arm/cpu/ixp/u-boot.lds @@ -60,10 +60,18 @@ SECTIONS *(.__image_copy_end) } + .rel_dyn_start : + { + *(.__rel_dyn_start) + } + .rel.dyn : { - __rel_dyn_start = .; *(.rel*) - __rel_dyn_end = .; + } + + .rel_dyn_end : + { + *(.__rel_dyn_end) } _end = .; |