
15 Nov
2014
15 Nov
'14
4:29 a.m.
On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass sjg@chromium.org wrote:
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
Changes in v2:
- Use .rel* instead of .rel.* to catch more cases
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..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 = .;
--
Reviewed-by: Bin Meng bmeng.cn@gmail.com