]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(build): allow warnings when using lld
authorYabin Cui <yabinc@google.com>
Thu, 19 Jan 2023 20:06:04 +0000 (20:06 +0000)
committerYabin Cui <yabinc@google.com>
Thu, 19 Jan 2023 20:14:43 +0000 (20:14 +0000)
commitebac6922d1f6fc16c5d3953dfb512553001dcdd3
tree1cd38ef5459056c6c1c26a271ea0911bc5d94ac3
parent344e5e8149f98fcbb2360cabc1dfc99db210ef82
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.

Change-Id: I70503ad03b3be7a18ffe29ef6f2127c3f4d540f1
Signed-off-by: Yabin Cui <yabinc@google.com>
Makefile