diff options
author | Heiko Schocher <hs@denx.de> | 2010-09-17 13:10:53 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-19 19:29:56 +0200 |
commit | a51dd67a03d5a43c6c9a2964cfd854d332f52860 (patch) | |
tree | 329b3b9d8b470b731ef93cd6c591bf0cb53c0390 /arch/arm/cpu/arm1176/u-boot.lds | |
parent | abef7b859d50665a18d3df803d8da830fc5e3711 (diff) | |
download | u-boot-imx-a51dd67a03d5a43c6c9a2964cfd854d332f52860.zip u-boot-imx-a51dd67a03d5a43c6c9a2964cfd854d332f52860.tar.gz u-boot-imx-a51dd67a03d5a43c6c9a2964cfd854d332f52860.tar.bz2 |
ARM: implement relocation for arm1176
Change the implementation for arm1176 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/arm1176/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/arm1176/u-boot.lds | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm1176/u-boot.lds b/arch/arm/cpu/arm1176/u-boot.lds index 8969587..fa640ee 100644 --- a/arch/arm/cpu/arm1176/u-boot.lds +++ b/arch/arm/cpu/arm1176/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) } |