summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/u-boot.lds
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-15 01:18:24 (GMT)
committerSimon Glass <sjg@chromium.org>2014-11-25 13:33:59 (GMT)
commit091c4943539f8a0b238246e043683e3cbf657b5e (patch)
tree0705e01e8669e20d5660455da7054977b0e29f4b /arch/x86/cpu/u-boot.lds
parent512e581c86a4066147a9a095eaed05a7aa9043df (diff)
downloadu-boot-fsl-qoriq-091c4943539f8a0b238246e043683e3cbf657b5e.tar.xz
x86: Ensure that all relocation data is included in the image
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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/u-boot.lds')
-rw-r--r--arch/x86/cpu/u-boot.lds4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds
index f48bff5..124a361 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 = .;