diff options
author | Yabin Cui <yabinc@google.com> | 2023-01-19 20:06:04 +0000 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2023-02-15 00:50:32 +0000 |
commit | 14b21bb9ec9edc2a59846163dcb4bb0c93d5bcf7 (patch) | |
tree | 9aabf52a85c11fe225d00300a436c4047c5dc895 /tools/cert_create/src/cert.c | |
parent | 6ce31b77d41ca0574830b84845fcfa8242205f50 (diff) | |
download | trusted-firmware-a-14b21bb9ec9edc2a59846163dcb4bb0c93d5bcf7.tar.gz |
fix(build): allow warnings when using lld
After https://reviews.llvm.org/D118840, ld.lld reports
below section type mismatch warnings:
LD trusted-firmware-a/build/qemu/release/bl1/bl1.elf
ld.lld: error: section type mismatch for base_xlat_table
>>> trusted-firmware-a/build/qemu/release/bl1/xlat_tables_context.o:
(base_xlat_table): SHT_PROGBITS
>>> output section .bss: SHT_NOBITS
ld.lld: error: section type mismatch for xlat_table
>>> trusted-firmware-a/build/qemu/release/bl1/xlat_tables_context.o:
(xlat_table): SHT_PROGBITS
>>> output section xlat_table: SHT_NOBITS
So allow warnings to make build pass.
Cherry picked from https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/18928.
Bug: 251888886
Change-Id: I70503ad03b3be7a18ffe29ef6f2127c3f4d540f1
Signed-off-by: Yabin Cui <yabinc@google.com>
Diffstat (limited to 'tools/cert_create/src/cert.c')
0 files changed, 0 insertions, 0 deletions