diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-22 20:53:42 +0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-27 00:18:09 +0400 |
commit | d0b5d9da5de280120b73e776663f6a3024f225f4 (patch) | |
tree | 32cbe0960e201c98f1f6ebe49fad1f3cac94291c /arch/arm/cpu/u-boot-spl.lds | |
parent | 62bbc2f25aab6010042dc1d22e9f8449fc946449 (diff) | |
download | u-boot-d0b5d9da5de280120b73e776663f6a3024f225f4.tar.xz |
arm: make _end compiler-generated
This prevents references to _end from generating absolute
relocation records.
This change is binary invariant for ARM targets.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'arch/arm/cpu/u-boot-spl.lds')
-rw-r--r-- | arch/arm/cpu/u-boot-spl.lds | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds index 4880d0f78a..3e886680e8 100644 --- a/arch/arm/cpu/u-boot-spl.lds +++ b/arch/arm/cpu/u-boot-spl.lds @@ -42,7 +42,12 @@ SECTIONS __rel_dyn_end = .; } - _end = .; + .end : + { + *(.__end) + } + + _image_binary_end = .; .bss __rel_dyn_start (OVERLAY) : { __bss_start = .; @@ -51,7 +56,7 @@ SECTIONS __bss_end = .; } - .dynsym _end : { *(.dynsym) } + .dynsym _image_binary_end : { *(.dynsym) } .dynbss : { *(.dynbss) } .dynstr : { *(.dynstr*) } .dynamic : { *(.dynamic*) } |