]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/bug: remove entry size from __bug_table section
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 9 Feb 2024 10:48:25 +0000 (11:48 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 14 Feb 2024 12:50:53 +0000 (13:50 +0100)
commit3938490e78f443fb0b734a15a50abba020638ff8
tree9e70203529f571053c9129b225912e4f1c74c2d1
parent55cce52f1cec914870a12e8e9f82659037648cb8
s390/bug: remove entry size from __bug_table section

Commit e21f8baf8d9a ("s390/bug: add entry size to the __bug_table section")
changed the __EMIT_BUG() inline assembly to emit mergeable __bug_table
entries. This is at least currently not needed, but causes problems with
the upcoming s390 ld.lld support:

  ld.lld: error: drivers/nvme/host/fc.o:(__bug_table): writable SHF_MERGE section is not supported

Therefore revert the change for now.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/all/20240207-s390-lld-and-orphan-warn-v1-0-8a665b3346ab@kernel.org/
Suggested-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/bug.h