Module: Mesa
Branch: master
Commit: ad6189920be9efcef639185b072d2be4e3a37049
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad6189920be9efcef639185b072d2be4e3a37049

Author: Eric Anholt <[email protected]>
Date:   Tue Oct  6 09:17:32 2020 -0700

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: <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6700>

---

 bin/symbols-check.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to