diff options
author | Elliott Hughes <enh@google.com> | 2014-05-20 20:37:56 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-20 20:58:23 -0700 |
commit | b497c43336475ff5f0248436510a7fbeccfa96a9 (patch) | |
tree | c7fa93dbcc599cf8180d8f621f317170a3c3a6ac /libc/tools | |
parent | 3d2bc5d6c8f08e587a8dad848829f98776549ba6 (diff) | |
download | bionic-b497c43336475ff5f0248436510a7fbeccfa96a9.zip bionic-b497c43336475ff5f0248436510a7fbeccfa96a9.tar.gz bionic-b497c43336475ff5f0248436510a7fbeccfa96a9.tar.bz2 |
Add a few more symbols to check-symbols-glibc.
Bug: 11156955
Change-Id: Iee0bae6f9742eca188abc7a337371c50888a0ad6
Diffstat (limited to 'libc/tools')
-rwxr-xr-x | libc/tools/check-symbols-glibc.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libc/tools/check-symbols-glibc.py b/libc/tools/check-symbols-glibc.py index 43b213f..3e112a0 100755 --- a/libc/tools/check-symbols-glibc.py +++ b/libc/tools/check-symbols-glibc.py @@ -73,6 +73,13 @@ FORTIFY_stuff = set([ '__strrchr_chk', '__umask_chk' ]) +# Some symbols are used to implement public macros. +macro_stuff = set([ + '__assert2', + '__errno', + '__fe_dfl_env', + '__get_h_errno', +]) # bionic exposes various Linux features that glibc doesn't. linux_stuff = set([ 'getauxval', @@ -114,7 +121,8 @@ for symbol in sorted(bionic): print print 'in bionic but not glibc:' -for symbol in sorted((bionic - bsd_stuff - FORTIFY_stuff - linux_stuff - std_stuff - weird_stuff).difference(glibc)): +allowed_stuff = (bsd_stuff | FORTIFY_stuff | linux_stuff | macro_stuff | std_stuff | weird_stuff) +for symbol in sorted((bionic - allowed_stuff).difference(glibc)): print symbol sys.exit(0) |