symbols-check: support OSes based on GNU toolchain
authorPino Toscano <toscano.pino@tiscali.it>
Thu, 9 Mar 2023 21:21:43 +0000 (22:21 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Mar 2023 13:25:48 +0000 (13:25 +0000)
commit9d42e31b540490e902ee72837ee247a97f632ce6
tree4020e581b4c94f0655a9d1653b756e40165e5125
parente5b29e6735f7cf7025d9a0b2e214cb73a98e72bc
symbols-check: support OSes based on GNU toolchain

Some of the symbols listed in PLATFORM_SYMBOLS are not only specific
to Linux, but rather specific to the GNU toolchain. Hence, use them
when inspecting ELF binaries produced by a GNU toolchain: this means
on Hurd ('GNU'), and on e.g. kFreeBSD ('GNU/kFreeBSD').

Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21825>
bin/symbols-check.py