diff options
author | Heiko Schocher <hs@denx.de> | 2010-09-17 13:10:47 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-19 19:29:55 +0200 |
commit | 2af0a099ac73f381a4e44ffe1e4565c21c901e34 (patch) | |
tree | 10849c2b91e32c664f8b909b38fb9a4af65d20b9 /arch/arm/cpu/ixp/u-boot.lds | |
parent | 5347f68c85871c248fdfc70d9c487ac5a11503eb (diff) | |
download | blackbird-obmc-uboot-2af0a099ac73f381a4e44ffe1e4565c21c901e34.tar.gz blackbird-obmc-uboot-2af0a099ac73f381a4e44ffe1e4565c21c901e34.zip |
ARM: implement relocation for ixp
Change the implementation for ixp 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/ixp/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/ixp/u-boot.lds | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/cpu/ixp/u-boot.lds b/arch/arm/cpu/ixp/u-boot.lds index b8ff2eed5c..f3d9dc5148 100644 --- a/arch/arm/cpu/ixp/u-boot.lds +++ b/arch/arm/cpu/ixp/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) } |