summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/s3c44b0/u-boot.lds
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2010-09-17 13:10:49 +0200
committerWolfgang Denk <wd@denx.de>2010-09-19 19:29:55 +0200
commit0110955a7951a48a5a3347cae82a4c1cede9c759 (patch)
treeb2228897b614a740a6855f06f592f862ec3fd5f7 /arch/arm/cpu/s3c44b0/u-boot.lds
parente30ceca21fd64303c01d1fcf58f9b342a364e0d7 (diff)
downloadu-boot-imx-0110955a7951a48a5a3347cae82a4c1cede9c759.zip
u-boot-imx-0110955a7951a48a5a3347cae82a4c1cede9c759.tar.gz
u-boot-imx-0110955a7951a48a5a3347cae82a4c1cede9c759.tar.bz2
ARM: implement relocation for s3c44b0
Change the implementation for s3c44b0 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/s3c44b0/u-boot.lds')
-rw-r--r--arch/arm/cpu/s3c44b0/u-boot.lds14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/s3c44b0/u-boot.lds b/arch/arm/cpu/s3c44b0/u-boot.lds
index 267d94c..bbc8c3a 100644
--- a/arch/arm/cpu/s3c44b0/u-boot.lds
+++ b/arch/arm/cpu/s3c44b0/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) }