[U-Boot] [PATCH 07/33] x86: Ensure that all relocation data is included in the image
Simon Glass
sjg at chromium.org
Wed Nov 12 01:17:55 CET 2014
Some toolchains put the relocation data into separate sections. Adjust the
linker script to catch this case. Without relocation data, U-Boot will not
boot.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/x86/cpu/u-boot.lds | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds
index f48bff5..95ab7dd 100644
--- a/arch/x86/cpu/u-boot.lds
+++ b/arch/x86/cpu/u-boot.lds
@@ -44,7 +44,9 @@ SECTIONS
. = ALIGN(4);
__rel_dyn_start = .;
- .rel.dyn : { *(.rel.dyn) }
+ .rel.dyn : {
+ *(.rel.*)
+ }
__rel_dyn_end = .;
. = ALIGN(4);
_end = .;
--
2.1.0.rc2.206.gedb03e5
More information about the U-Boot
mailing list