diff options
author | Heiko Schocher <hs@denx.de> | 2010-09-17 13:10:50 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-19 19:29:55 +0200 |
commit | ec985e94a2fec72a51f49943fce572bcf3aba282 (patch) | |
tree | 4fd2040fd91d7d759d95084f71f7568304293b22 /arch/arm/cpu/lh7a40x/u-boot.lds | |
parent | 0110955a7951a48a5a3347cae82a4c1cede9c759 (diff) | |
download | bootable_bootloader_goldelico_gta04-ec985e94a2fec72a51f49943fce572bcf3aba282.zip bootable_bootloader_goldelico_gta04-ec985e94a2fec72a51f49943fce572bcf3aba282.tar.gz bootable_bootloader_goldelico_gta04-ec985e94a2fec72a51f49943fce572bcf3aba282.tar.bz2 |
ARM: implement relocation for lh7a40x
Change the implementation for lh7a40x 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/lh7a40x/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/lh7a40x/u-boot.lds | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/lh7a40x/u-boot.lds b/arch/arm/cpu/lh7a40x/u-boot.lds index 5a8ccf5..cb55b0a 100644 --- a/arch/arm/cpu/lh7a40x/u-boot.lds +++ b/arch/arm/cpu/lh7a40x/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) } |