summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2020-10-06 09:17:32 -0700
committerMarge Bot <eric+marge@anholt.net>2020-10-14 16:54:59 +0000
commitad6189920be9efcef639185b072d2be4e3a37049 (patch)
treeda70fe15bc38a0228090e51bd63903939bfa8c88 /bin
parent4722491124ea84b62761abe0bb6745da03ab7f6e (diff)
symbols-check: Add __cxa_guard_* to the list of approved symbols.
These are introduced by the compiler during static local initialization in c++ for thread safety. This seems to end up being public in the driver with --static-libc++ on android. Reviewed-by: <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6700>
Diffstat (limited to 'bin')
-rw-r--r--bin/symbols-check.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/symbols-check.py b/bin/symbols-check.py
index a33d0932ed9..e56b49df10a 100644
--- a/bin/symbols-check.py
+++ b/bin/symbols-check.py
@@ -10,6 +10,9 @@ PLATFORM_SYMBOLS = [
'__bss_end__',
'__bss_start__',
'__bss_start',
+ '__cxa_guard_abort',
+ '__cxa_guard_acquire',
+ '__cxa_guard_release',
'__end__',
'_bss_end__',
'_edata',
@@ -18,7 +21,6 @@ PLATFORM_SYMBOLS = [
'_init',
]
-
def get_symbols_nm(nm, lib):
'''
List all the (non platform-specific) symbols exported by the library