summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm925t/u-boot.lds
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2010-09-17 13:10:44 +0200
committerWolfgang Denk <wd@denx.de>2010-09-19 19:29:54 +0200
commit405d023b7180adb2cd5512a4478a992c0912611b (patch)
tree8f24312ea8e83c6bddb64d543a02ebe2d789d5c4 /arch/arm/cpu/arm925t/u-boot.lds
parentcc7cdcbd1d7179dd914d608537928a9b56f029ec (diff)
downloadu-boot-405d023b7180adb2cd5512a4478a992c0912611b.tar.gz
ARM: implement relocation for ARM925
Change the implementation for arm925 to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/arm/cpu/arm925t/u-boot.lds')
-rw-r--r--arch/arm/cpu/arm925t/u-boot.lds14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm925t/u-boot.lds b/arch/arm/cpu/arm925t/u-boot.lds
index e21d6dc5a7..1c4e9bcfb5 100644
--- a/arch/arm/cpu/arm925t/u-boot.lds
+++ b/arch/arm/cpu/arm925t/u-boot.lds
@@ -42,11 +42,23 @@ SECTIONS
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
. = ALIGN(4);
- .data : { *(.data) }
+ .data : {
+ *(.data)
+ __datarel_start = .;
+ *(.data.rel)
+ __datarelrolocal_start = .;
+ *(.data.rel.ro.local)
+ __datarellocal_start = .;
+ *(.data.rel.local)
+ __datarelro_start = .;
+ *(.data.rel.ro)
+ }
+ __got_start = .;
. = ALIGN(4);
.got : { *(.got) }
+ __got_end = .;
. = .;
__u_boot_cmd_start = .;
.u_boot_cmd : { *(.u_boot_cmd) }