projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512e581
)
x86: Ensure that all relocation data is included in the image
author
Simon Glass
<sjg@chromium.org>
Sat, 15 Nov 2014 01:18:24 +0000
(18:18 -0700)
committer
Simon Glass
<sjg@chromium.org>
Tue, 25 Nov 2014 13:33:59 +0000
(06:33 -0700)
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>
arch/x86/cpu/u-boot.lds
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/u-boot.lds
b/arch/x86/cpu/u-boot.lds
index f48bff54e10347995a2b48b85b648bdda1790ab9..124a361fc0e8f6b3ef4b1269412b37731a759c28 100644
(file)
--- 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 = .;