diff options
author | Heiko Schocher <hs@denx.de> | 2010-09-17 13:10:40 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-19 19:29:53 +0200 |
commit | e48b7c0aad687f0b42ba9985c3e2dc67c2cac71d (patch) | |
tree | 1b834a85837ee988b11670c8ae143a73ad513a30 /arch/arm/cpu/arm1136/u-boot.lds | |
parent | f1d2b313c9eb6808d30c16a9eb5251240452a56c (diff) | |
download | u-boot-imx-e48b7c0aad687f0b42ba9985c3e2dc67c2cac71d.zip u-boot-imx-e48b7c0aad687f0b42ba9985c3e2dc67c2cac71d.tar.gz u-boot-imx-e48b7c0aad687f0b42ba9985c3e2dc67c2cac71d.tar.bz2 |
ARM: implement relocation for ARM11
Change the implementation for ARM11 to relocate the code to an
arbitrary address in RAM.
Tested on the qong board.
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/arm1136/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/arm1136/u-boot.lds | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm1136/u-boot.lds b/arch/arm/cpu/arm1136/u-boot.lds index e7eefc9..1db4b49 100644 --- a/arch/arm/cpu/arm1136/u-boot.lds +++ b/arch/arm/cpu/arm1136/u-boot.lds @@ -47,11 +47,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) } |