summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/pxa/u-boot.lds
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2010-09-17 13:10:46 +0200
committerWolfgang Denk <wd@denx.de>2010-09-19 19:29:55 +0200
commit5347f68c85871c248fdfc70d9c487ac5a11503eb (patch)
tree42d666303b402a566c11342b588b662b1b79e411 /arch/arm/cpu/pxa/u-boot.lds
parent5a8a87ed0e3c7238f234f6ff01f6874bbc96824b (diff)
downloadu-boot-imx-5347f68c85871c248fdfc70d9c487ac5a11503eb.zip
u-boot-imx-5347f68c85871c248fdfc70d9c487ac5a11503eb.tar.gz
u-boot-imx-5347f68c85871c248fdfc70d9c487ac5a11503eb.tar.bz2
ARM: implement relocation for pxa
Change the implementation for pxa 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/pxa/u-boot.lds')
-rw-r--r--arch/arm/cpu/pxa/u-boot.lds14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/pxa/u-boot.lds b/arch/arm/cpu/pxa/u-boot.lds
index d4e85ef..74a4c6e 100644
--- a/arch/arm/cpu/pxa/u-boot.lds
+++ b/arch/arm/cpu/pxa/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) }