diff options
author | Albert Aribaud <albert.aribaud@free.fr> | 2010-11-25 22:45:02 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-26 21:22:07 +0100 |
commit | 3336ca60d412b2e1285c0d5e76b7b6f9b4ff19ef (patch) | |
tree | f33038cf76ceedc98c0524aca39779ead2f8f792 /arch/arm/cpu/arm720t/u-boot.lds | |
parent | 38041db7401e4410134338a75de20ee49e4896ad (diff) | |
download | u-boot-imx-3336ca60d412b2e1285c0d5e76b7b6f9b4ff19ef.zip u-boot-imx-3336ca60d412b2e1285c0d5e76b7b6f9b4ff19ef.tar.gz u-boot-imx-3336ca60d412b2e1285c0d5e76b7b6f9b4ff19ef.tar.bz2 |
arm: add ELF relocation support to rest of cpus
bulk addition of ELF relocation support to ARM cpus
arm946es, arm720t,arm920t, arm925t, arm_intcm, ixp,
lh7a40x, s3c44b0, and sa1100.
Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
Diffstat (limited to 'arch/arm/cpu/arm720t/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/arm720t/u-boot.lds | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/arch/arm/cpu/arm720t/u-boot.lds b/arch/arm/cpu/arm720t/u-boot.lds index 4a0bc70..0686e42 100644 --- a/arch/arm/cpu/arm720t/u-boot.lds +++ b/arch/arm/cpu/arm720t/u-boot.lds @@ -40,29 +40,38 @@ SECTIONS . = ALIGN(4); .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) } __u_boot_cmd_end = .; . = ALIGN(4); - __bss_start = .; - .bss (NOLOAD) : { *(.bss) . = ALIGN(4); } - _end = .; + + .rel.dyn : { + __rel_dyn_start = .; + *(.rel*) + __rel_dyn_end = .; + } + + .dynsym : { + __dynsym_start = .; + *(.dynsym) + } + + .bss __rel_dyn_start (OVERLAY) : { + __bss_start = .; + *(.bss) + . = ALIGN(4); + _end = .; + } + + /DISCARD/ : { *(.dynstr*) } + /DISCARD/ : { *(.dynamic*) } + /DISCARD/ : { *(.plt*) } + /DISCARD/ : { *(.interp*) } + /DISCARD/ : { *(.gnu*) } } |