diff options
author | Albert ARIBAUD | 2014-02-22 17:53:42 +0100 |
---|---|---|
committer | Albert ARIBAUD | 2014-02-26 21:18:09 +0100 |
commit | d0b5d9da5de280120b73e776663f6a3024f225f4 (patch) | |
tree | 32cbe0960e201c98f1f6ebe49fad1f3cac94291c /arch/arm/cpu/armv7/am33xx | |
parent | 62bbc2f25aab6010042dc1d22e9f8449fc946449 (diff) |
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/armv7/am33xx')
-rw-r--r-- | arch/arm/cpu/armv7/am33xx/u-boot-spl.lds | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/u-boot-spl.lds b/arch/arm/cpu/armv7/am33xx/u-boot-spl.lds index 9302856a957..b1c28c9442d 100644 --- a/arch/arm/cpu/armv7/am33xx/u-boot-spl.lds +++ b/arch/arm/cpu/armv7/am33xx/u-boot-spl.lds @@ -38,7 +38,11 @@ SECTIONS . = ALIGN(4); __image_copy_end = .; - _end = .; + + .end : + { + *(.__end) + } >.sram .bss : { |