]> git.baikalelectronics.ru Git - kernel.git/commit
s390/boot: do not emit debug info for assembly with llvm's IAS
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 11 May 2022 12:05:31 +0000 (14:05 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 17 May 2022 13:16:29 +0000 (15:16 +0200)
commite45388507cd6f0acfe39edd0a04d7a148921ef26
treeff95f740415fae446722780ac30d5c70518846fe
parentfcb7426150801dbe56bda7008ce7f8f1de9aeaa2
s390/boot: do not emit debug info for assembly with llvm's IAS

Commit d678e02f11eb ("s390/decompressor: support extra debug flags")
added extra debug flags, in particular debug info is created,
depending on config options.

With llvm's IAS this causes this compile warning:

arch/s390/boot/head.S:38:1: warning: DWARF2 only supports one section per compilation unit
.section ".head.text","ax"
^

This is a known problem and was addressed with commit e0cefb2767ed
("Kbuild: do not emit debug info for assembly with LLVM_IAS=1").
Just do the same for s390 to get rid of this warning.

Tested-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20220511120532.2228616-8-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/Makefile