diff options
author | 2019-04-08 23:26:24 +0200 | |
---|---|---|
committer | 2019-04-11 13:36:52 +0200 | |
commit | 9a0ceb9cfbee7da4a005135c620603ea837878a9 (patch) | |
tree | a33ac528857d40e24ba64ff9a2cd10f591373393 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | s390: make __load_psw_mask work with clang (diff) | |
download | wireguard-linux-9a0ceb9cfbee7da4a005135c620603ea837878a9.tar.xz wireguard-linux-9a0ceb9cfbee7da4a005135c620603ea837878a9.zip |
s390: make chkbss work with clang
llvm skips an empty .bss section entirely, which makes
the check fail with an unexpected error:
/tmp/binutils-multi-test/bin/s390x-linux-gnu-objdump: section '.bss' mentioned in a -j option, but not found in any input file
error: arch/s390/boot/compressed/decompressor.o .bss section is not empty
../arch/s390/scripts/Makefile.chkbss:20: recipe for target 'arch/s390/boot/compressed/decompressor.o.chkbss' failed
Change the check so we first see if a .bss section exists
before trying to read its size.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions