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>
master
Simon Glass 10 years ago
parent 512e581c86
commit 091c494353
  1. 4
      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 = .;

Loading…
Cancel
Save