aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm1176/u-boot.lds
diff options
context:
space:
mode:
authorDarius Augulis <augulis.darius@gmail.com>2010-10-25 13:48:03 +0300
committerWolfgang Denk <wd@denx.de>2010-10-26 21:12:53 +0200
commitea34c9d6ed0d66a16c0a2500bc3b6d8a596dbf29 (patch)
tree2ae7d280d280406bc258ec5348351ab82f683926 /arch/arm/cpu/arm1176/u-boot.lds
parent123fb7deb238cf9d03e82f98962ed7f03d09703a (diff)
downloadu-boot-linaro-stable-ea34c9d6ed0d66a16c0a2500bc3b6d8a596dbf29.tar.gz
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.lds15
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 fa640eec2..d9ed95405 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*) }
}