summaryrefslogtreecommitdiffstats
path: root/board/compulab/cm_t335/u-boot.lds
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-22 17:53:42 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-26 21:18:09 +0100
commitd0b5d9da5de280120b73e776663f6a3024f225f4 (patch)
tree32cbe0960e201c98f1f6ebe49fad1f3cac94291c /board/compulab/cm_t335/u-boot.lds
parent62bbc2f25aab6010042dc1d22e9f8449fc946449 (diff)
downloadblackbird-obmc-uboot-d0b5d9da5de280120b73e776663f6a3024f225f4.tar.gz
blackbird-obmc-uboot-d0b5d9da5de280120b73e776663f6a3024f225f4.zip
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/compulab/cm_t335/u-boot.lds')
-rw-r--r--board/compulab/cm_t335/u-boot.lds9
1 files changed, 7 insertions, 2 deletions
diff --git a/board/compulab/cm_t335/u-boot.lds b/board/compulab/cm_t335/u-boot.lds
index d25c19a834..0984dfe6ea 100644
--- a/board/compulab/cm_t335/u-boot.lds
+++ b/board/compulab/cm_t335/u-boot.lds
@@ -61,7 +61,12 @@ SECTIONS
*(.__rel_dyn_end)
}
- _end = .;
+ .end :
+ {
+ *(.__end)
+ }
+
+ _image_binary_end = .;
/*
* Deprecated: this MMU section is used by pxa at present but
@@ -92,7 +97,7 @@ SECTIONS
KEEP(*(.__bss_end));
}
- .dynsym _end : { *(.dynsym) }
+ .dynsym _image_binary_end : { *(.dynsym) }
.hash : { *(.hash) }
.got.plt : { *(.got.plt) }
.dynbss : { *(.dynbss) }
OpenPOWER on IntegriCloud