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>
This commit is contained in:
parent
512e581c86
commit
091c494353
@ -44,7 +44,9 @@ SECTIONS
|
||||
|
||||
. = ALIGN(4);
|
||||
__rel_dyn_start = .;
|
||||
.rel.dyn : { *(.rel.dyn) }
|
||||
.rel.dyn : {
|
||||
*(.rel*)
|
||||
}
|
||||
__rel_dyn_end = .;
|
||||
. = ALIGN(4);
|
||||
_end = .;
|
||||
|
Loading…
Reference in New Issue
Block a user