diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-22 17:53:42 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-26 21:18:09 +0100 |
commit | d0b5d9da5de280120b73e776663f6a3024f225f4 (patch) | |
tree | 32cbe0960e201c98f1f6ebe49fad1f3cac94291c /board/freescale/mx31ads | |
parent | 62bbc2f25aab6010042dc1d22e9f8449fc946449 (diff) | |
download | u-boot-imx-d0b5d9da5de280120b73e776663f6a3024f225f4.zip u-boot-imx-d0b5d9da5de280120b73e776663f6a3024f225f4.tar.gz u-boot-imx-d0b5d9da5de280120b73e776663f6a3024f225f4.tar.bz2 |
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 'board/freescale/mx31ads')
-rw-r--r-- | board/freescale/mx31ads/u-boot.lds | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/board/freescale/mx31ads/u-boot.lds b/board/freescale/mx31ads/u-boot.lds index 1cca176..6da1d4b 100644 --- a/board/freescale/mx31ads/u-boot.lds +++ b/board/freescale/mx31ads/u-boot.lds @@ -69,7 +69,12 @@ SECTIONS *(.__rel_dyn_end) } - _end = .; + .end : + { + *(.__end) + } + + _image_binary_end = .; /* * Compiler-generated __bss_start and __bss_end, see arch/arm/lib/bss.c @@ -90,7 +95,7 @@ SECTIONS KEEP(*(.__bss_end)); } - .dynsym _end : { *(.dynsym) } + .dynsym _image_binary_end : { *(.dynsym) } .dynbss : { *(.dynbss) } .dynstr : { *(.dynstr*) } .dynamic : { *(.dynamic*) } |