diff options
author | Dan Albert <danalbert@google.com> | 2014-08-15 14:20:04 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-08-18 12:01:01 -0700 |
commit | fd5ee9aebc0a43c7f36a0778c7f416b39ddb870e (patch) | |
tree | bfbf039f3d95eeb4be2da89a325317e422fcc383 /libc/tools | |
parent | 2b6cdb5e459661727c99e81660c7c3df5cdbe024 (diff) | |
download | bionic-fd5ee9aebc0a43c7f36a0778c7f416b39ddb870e.zip bionic-fd5ee9aebc0a43c7f36a0778c7f416b39ddb870e.tar.gz bionic-fd5ee9aebc0a43c7f36a0778c7f416b39ddb870e.tar.bz2 |
Hide C++ stuff in libc. Put it back in libstdc++.
Bug: 17062445
Change-Id: I027b186719654c2865b08c3fa83f90fa00c1e838
Diffstat (limited to 'libc/tools')
-rwxr-xr-x | libc/tools/check-symbols-glibc.py | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/libc/tools/check-symbols-glibc.py b/libc/tools/check-symbols-glibc.py index ffff964..8326730 100755 --- a/libc/tools/check-symbols-glibc.py +++ b/libc/tools/check-symbols-glibc.py @@ -172,24 +172,6 @@ libresolv_stuff = set([ 'dn_expand', 'nsdispatch', ]) -# libstdc++ stuff we took over. -libstdcxx_stuff = set([ - # new, delete, nothrow - '_ZSt7nothrow', - '_ZdaPv', - '_ZdaPvRKSt9nothrow_t', - '_ZdlPv', - '_ZdlPvRKSt9nothrow_t', - '_Znam', - '_ZnamRKSt9nothrow_t', - '_Znwm', - '_ZnwmRKSt9nothrow_t', - - '__cxa_guard_abort', - '__cxa_guard_acquire', - '__cxa_guard_release', - '__cxa_pure_virtual', -]) # Implementation details we know we export (and can't get away from). known = set([ '_ctype_', @@ -210,8 +192,7 @@ if not only_unwanted: print 'in bionic but not glibc:' allowed_stuff = (bsd_stuff | FORTIFY_stuff | linux_stuff | macro_stuff | - std_stuff | weird_stuff | libresolv_stuff | libstdcxx_stuff | - known) + std_stuff | weird_stuff | libresolv_stuff | known) for symbol in sorted((bionic - allowed_stuff).difference(glibc)): if symbol in ndk_ignored: symbol += '*' |