projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baa977b
)
armv8: SPL: discard relocation information
author
Marek Behún
<marek.behun@nic.cz>
Thu, 20 May 2021 11:24:20 +0000
(13:24 +0200)
committer
Tom Rini
<trini@konsulko.com>
Mon, 24 May 2021 18:21:30 +0000
(14:21 -0400)
For some reason when building SPL for ARMv8 with LTO, the relocation
information is not discarded.
Discard it explicitly in the linker script.
This fixes LTO build for imx8mm_venice_defconfig.
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/armv8/u-boot-spl.lds
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/u-boot-spl.lds
b/arch/arm/cpu/armv8/u-boot-spl.lds
index
0e67ab0
..
9edb662
100644
(file)
--- a/
arch/arm/cpu/armv8/u-boot-spl.lds
+++ b/
arch/arm/cpu/armv8/u-boot-spl.lds
@@
-77,6
+77,7
@@
SECTIONS
KEEP(*(.__bss_end));
} >.sdram
+ /DISCARD/ : { *(.rela*) }
/DISCARD/ : { *(.dynsym) }
/DISCARD/ : { *(.dynstr*) }
/DISCARD/ : { *(.dynamic*) }