diff options
author | Heiko Schocher | 2010-09-17 13:10:48 +0200 |
---|---|---|
committer | Wolfgang Denk | 2010-09-19 19:29:55 +0200 |
commit | e30ceca21fd64303c01d1fcf58f9b342a364e0d7 (patch) | |
tree | 1807fbf0c341f9b8603862693f69dd590e480afe /arch/arm/cpu/sa1100/u-boot.lds | |
parent | 2af0a099ac73f381a4e44ffe1e4565c21c901e34 (diff) |
ARM: implement relocation for sa1100
Change the implementation for sa1100 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/sa1100/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/sa1100/u-boot.lds | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/sa1100/u-boot.lds b/arch/arm/cpu/sa1100/u-boot.lds index f6197acd819..2e292919091 100644 --- a/arch/arm/cpu/sa1100/u-boot.lds +++ b/arch/arm/cpu/sa1100/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) } |