summaryrefslogtreecommitdiffstats
path: root/include/mc34704.h
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-05-20 13:24:00 +0200
committerTom Rini <trini@konsulko.com>2021-05-24 14:21:30 -0400
commit98e55f97afc2a212185804e2c1130bebe980db73 (patch)
tree8d90b95bf8535624d1365ae7ba31f02791a02d50 /include/mc34704.h
parentead698acbc3077eab5b209276a512ddc7fefb6b8 (diff)
downloadu-boot-98e55f97afc2a212185804e2c1130bebe980db73.tar.gz
u-boot-98e55f97afc2a212185804e2c1130bebe980db73.tar.xz
u-boot-98e55f97afc2a212185804e2c1130bebe980db73.zip
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 'include/mc34704.h')
0 files changed, 0 insertions, 0 deletions