[PATCH u-boot v4 11/36] lib: crc32: put the crc_table variable into efi_runtime_rodata section

Tom Rini trini at konsulko.com
Tue May 25 02:55:11 CEST 2021

On Thu, May 20, 2021 at 01:24:00PM +0200, Marek Behún wrote:

> When compiling with LTO, the compiler fails with an error saying that
> `crc_table` causes a section type conflict with `efi_var_buf`.
> This is because both are declared to be in the same section (via macro
> `__efi_runtime_data`), but one is const while the other is not.
> Put this variable into the section .rodata.efi_runtime, instead of
> .data.efi_runtime, via macro __efi_runtime_rodata.
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> Reviewed-by: Marek Vasut <marex at denx.de>
> Reviewed-by: Heinrich Schuchardt <xypron.gpk at gmx.de>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210524/b856c936/attachment.sig>

More information about the U-Boot mailing list