summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/at91-common/u-boot-spl.lds
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-22 16:53:42 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-26 20:18:09 (GMT)
commitd0b5d9da5de280120b73e776663f6a3024f225f4 (patch)
tree32cbe0960e201c98f1f6ebe49fad1f3cac94291c /arch/arm/cpu/at91-common/u-boot-spl.lds
parent62bbc2f25aab6010042dc1d22e9f8449fc946449 (diff)
downloadu-boot-fsl-qoriq-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/at91-common/u-boot-spl.lds')
-rw-r--r--arch/arm/cpu/at91-common/u-boot-spl.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/cpu/at91-common/u-boot-spl.lds b/arch/arm/cpu/at91-common/u-boot-spl.lds
index 038335d..57ac1eb 100644
--- a/arch/arm/cpu/at91-common/u-boot-spl.lds
+++ b/arch/arm/cpu/at91-common/u-boot-spl.lds
@@ -37,7 +37,11 @@ SECTIONS
. = ALIGN(4);
__image_copy_end = .;
- _end = .;
+
+ .end :
+ {
+ *(.__end)
+ } >.sram
.bss :
{