diff options
author | Simon Glass <sjg@chromium.org> | 2014-11-14 18:18:24 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-25 06:33:59 -0700 |
commit | 091c4943539f8a0b238246e043683e3cbf657b5e (patch) | |
tree | 0705e01e8669e20d5660455da7054977b0e29f4b /arch | |
parent | 512e581c86a4066147a9a095eaed05a7aa9043df (diff) | |
download | u-boot-imx-091c4943539f8a0b238246e043683e3cbf657b5e.zip u-boot-imx-091c4943539f8a0b238246e043683e3cbf657b5e.tar.gz u-boot-imx-091c4943539f8a0b238246e043683e3cbf657b5e.tar.bz2 |
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')
-rw-r--r-- | arch/x86/cpu/u-boot.lds | 4 |
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 = .; |