diff options
author | Darius Augulis <augulis.darius@gmail.com> | 2010-10-25 13:48:03 +0300 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-26 21:12:53 +0200 |
commit | ea34c9d6ed0d66a16c0a2500bc3b6d8a596dbf29 (patch) | |
tree | 2ae7d280d280406bc258ec5348351ab82f683926 /arch/arm/cpu/arm1176/u-boot.lds | |
parent | 123fb7deb238cf9d03e82f98962ed7f03d09703a (diff) | |
download | u-boot-imx-ea34c9d6ed0d66a16c0a2500bc3b6d8a596dbf29.zip u-boot-imx-ea34c9d6ed0d66a16c0a2500bc3b6d8a596dbf29.tar.gz u-boot-imx-ea34c9d6ed0d66a16c0a2500bc3b6d8a596dbf29.tar.bz2 |
arm1176: fix relocation
Fix relocation code for arm1176, do it like other ARM
CPU's are doing.
Tested only with CONFIG_SKIP_RELOCATE_UBOOT defined
and using nand_spl (booting from nand). Test done on
s3c6410 based board (not yet supported in main line).
Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
Diffstat (limited to 'arch/arm/cpu/arm1176/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/arm1176/u-boot.lds | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/arch/arm/cpu/arm1176/u-boot.lds b/arch/arm/cpu/arm1176/u-boot.lds index fa640ee..d9ed954 100644 --- a/arch/arm/cpu/arm1176/u-boot.lds +++ b/arch/arm/cpu/arm1176/u-boot.lds @@ -51,11 +51,14 @@ SECTIONS *(.data.rel.ro) } - __got_start = .; . = ALIGN(4); - .got : { *(.got) } + __rel_dyn_start = .; + .rel.dyn : { *(.rel.dyn) } + __rel_dyn_end = .; + + __dynsym_start = .; + .dynsym : { *(.dynsym) } - __got_end = .; . = .; __u_boot_cmd_start = .; .u_boot_cmd : { *(.u_boot_cmd) } @@ -65,4 +68,10 @@ SECTIONS __bss_start = .; .bss (NOLOAD) : { *(.bss) . = ALIGN(4); } _end = .; + + /DISCARD/ : { *(.dynstr*) } + /DISCARD/ : { *(.dynamic*) } + /DISCARD/ : { *(.plt*) } + /DISCARD/ : { *(.interp*) } + /DISCARD/ : { *(.gnu*) } } |