[U-Boot] [PATCH] armv7: fix linker file for newer ld support

Alexander Holler holler at ahsoftware.de
Tue Nov 2 04:23:41 CET 2010


Signed-off-by: Alexander Holler <holler at ahsoftware.de>
---
 arch/arm/cpu/armv7/u-boot.lds |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/arch/arm/cpu/armv7/u-boot.lds b/arch/arm/cpu/armv7/u-boot.lds
index 88a0fec..34e0a79 100644
--- a/arch/arm/cpu/armv7/u-boot.lds
+++ b/arch/arm/cpu/armv7/u-boot.lds
@@ -54,13 +54,6 @@ SECTIONS
 		*(.data.rel.ro)
 	}
 	. = ALIGN(4);
-	__rel_dyn_start = .;
-	.rel.dyn : { *(.rel.dyn) }
-	__rel_dyn_end = .;
-
-	__dynsym_start = .;
-	.dynsym : { *(.dynsym) }
-
 	__got_start = .;
 	. = ALIGN(4);
 	.got : { *(.got) }
@@ -74,4 +67,12 @@ SECTIONS
 	__bss_start = .;
 	.bss : { *(.bss) }
 	_end = .;
+
+	. = ALIGN(4);
+	__rel_dyn_start = .;
+	.rel.dyn : { *(.rel*) }
+	__rel_dyn_end = .;
+
+	__dynsym_start = .;
+	.dynsym : { *(.dynsym) }
 }
-- 
1.7.2.2



More information about the U-Boot mailing list