nptl_db: Re-use the ELF-to-abilist converter for ABI checking
authorFlorian Weimer <fweimer@redhat.com>
Tue, 29 Jun 2021 20:17:05 +0000 (22:17 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 29 Jun 2021 20:17:08 +0000 (22:17 +0200)
commit3640654575bef7b56840fbadc1a6d6180ea011a7
tree22e94076681604c7264d99394ce655ecf9c87a38
parent9dc7dc5708c5c35aeb2e0c594c74b4ba4674aa6d
nptl_db: Re-use the ELF-to-abilist converter for ABI checking

The previous approach uses readelf -DWs, which does not produce
a stable output format (older binutils versions do not include
symbol version information).  This commit re-uses scripts/abilist.awk
with a tweak to include GLIBC_PRIVATE symbols.  This awk script
is based on objdump -T output, which appears to be stable over time.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
nptl_db/Makefile
nptl_db/db-symbols.awk
scripts/abilist.awk