summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/ixp/u-boot.lds
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2010-09-17 13:10:47 +0200
committerWolfgang Denk <wd@denx.de>2010-09-19 19:29:55 +0200
commit2af0a099ac73f381a4e44ffe1e4565c21c901e34 (patch)
tree10849c2b91e32c664f8b909b38fb9a4af65d20b9 /arch/arm/cpu/ixp/u-boot.lds
parent5347f68c85871c248fdfc70d9c487ac5a11503eb (diff)
ARM: implement relocation for ixp
Change the implementation for ixp 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/ixp/u-boot.lds')
-rw-r--r--arch/arm/cpu/ixp/u-boot.lds14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/ixp/u-boot.lds b/arch/arm/cpu/ixp/u-boot.lds
index b8ff2eed5c9..f3d9dc51487 100644
--- a/arch/arm/cpu/ixp/u-boot.lds
+++ b/arch/arm/cpu/ixp/u-boot.lds
@@ -39,11 +39,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) }