]> git.dujemihanovic.xyz Git - u-boot.git/commit
armv8: SPL: discard relocation information
authorMarek Behún <marek.behun@nic.cz>
Thu, 20 May 2021 11:24:20 +0000 (13:24 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 May 2021 18:21:30 +0000 (14:21 -0400)
commit37de198fa25b4bd31c69d14bad4fa6904685836d
tree94ee9437293516a0683cb439e2032f2d3aa72597
parentbaa977bd0f63c48ffd57c65f052d5a6c8f6f0fc1
armv8: SPL: discard relocation information

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