diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-05-20 14:24:00 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-05-24 21:21:30 +0300 |
commit | 98e55f97afc2a212185804e2c1130bebe980db73 (patch) | |
tree | 8d90b95bf8535624d1365ae7ba31f02791a02d50 /Makefile | |
parent | ead698acbc3077eab5b209276a512ddc7fefb6b8 (diff) | |
download | u-boot-98e55f97afc2a212185804e2c1130bebe980db73.tar.xz |
lib: crc32: put the crc_table variable into efi_runtime_rodata section
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@nic.cz>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Heinrich Schuchardt <xypron.gpk@gmx.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions