Remove a duplicate declaration, improve check-symbols-glibc.py.
Change-Id: I97a98dfc8acaa93172386b4475487a05a35a9337
diff --git a/libc/tools/check-symbols-glibc.py b/libc/tools/check-symbols-glibc.py
index 43531c0..3185c81 100755
--- a/libc/tools/check-symbols-glibc.py
+++ b/libc/tools/check-symbols-glibc.py
@@ -108,15 +108,16 @@
'__strlen_chk',
'__strncpy_chk2',
'__strrchr_chk',
- '__umask_chk'
+ '__umask_chk',
'__write_chk',
])
-# Some symbols are used to implement public macros.
+# Some symbols are used to implement public functions/macros.
macro_stuff = set([
'__assert2',
'__errno',
'__fe_dfl_env',
'__get_h_errno',
+ '__gnu_strerror_r',
'__fpclassifyd',
'__isfinite',
'__isfinitef',
@@ -132,7 +133,8 @@
linux_stuff = set([
'getauxval',
'gettid',
- 'tgkill'
+ 'pthread_gettid_np',
+ 'tgkill',
])
# Some standard stuff isn't yet in the versions of glibc we're using.
std_stuff = set([
@@ -168,6 +170,7 @@
libresolv_stuff = set([
'__res_send_setqhook',
'__res_send_setrhook',
+ '_resolv_delete_cache_for_net',
'_resolv_flush_cache_for_net',
'_resolv_set_nameservers_for_net',
'dn_expand',