Add missing symbols to android-19 libc
Symbols missing from NDK libc but present in the
platform version of libc:
__system_property_add
__system_property_area_init
__system_property_foreach
__system_property_serial
__system_property_set_filename
__system_property_update
__system_property_wait_any
abs
clearerr_unlocked
feof_unlocked
ferror_unlocked
fileno_unlocked
fstatvfs
imaxabs
imaxdiv
labs
llabs
statvfs
swapoff
swapon
timerfd_create
timerfd_gettime
timerfd_settime
Bug: http://b/28864994
Change-Id: I8f5d7716b19d2aa3aeac80db13f2728307a26599
diff --git a/ndk/platforms/android-19/arch-arm/symbols/libc.so.functions.txt b/ndk/platforms/android-19/arch-arm/symbols/libc.so.functions.txt
index d30c43e..1d9cd10 100644
--- a/ndk/platforms/android-19/arch-arm/symbols/libc.so.functions.txt
+++ b/ndk/platforms/android-19/arch-arm/symbols/libc.so.functions.txt
@@ -146,11 +146,18 @@
__sym_ntos
__sym_ston
__system_properties_init
+__system_property_add
+__system_property_area_init
__system_property_find
__system_property_find_nth
+__system_property_foreach
__system_property_get
__system_property_read
+__system_property_serial
__system_property_set
+__system_property_set_filename
+__system_property_update
+__system_property_wait_any
__timer_create
__timer_delete
__timer_getoverrun
@@ -166,6 +173,7 @@
_longjmp
_setjmp
abort
+abs
accept
access
acct
@@ -200,6 +208,7 @@
chroot
clearenv
clearerr
+clearerr_unlocked
clock
clock_getres
clock_gettime
@@ -260,7 +269,9 @@
fdopen
fdopendir
feof
+feof_unlocked
ferror
+ferror_unlocked
fflush
ffs
fgetc
@@ -271,6 +282,7 @@
fgetws
fgetxattr
fileno
+fileno_unlocked
flistxattr
flock
flockfile
@@ -297,6 +309,7 @@
fstat
fstatat
fstatfs
+fstatvfs
fsync
ftell
ftello
@@ -389,6 +402,8 @@
hstrerror
if_indextoname
if_nametoindex
+imaxabs
+imaxdiv
inet_addr
inet_aton
inet_nsap_addr
@@ -434,6 +449,7 @@
kill
killpg
klogctl
+labs
lchown
ldexp
ldiv
@@ -441,6 +457,7 @@
link
listen
listxattr
+llabs
lldiv
llistxattr
localtime
@@ -718,6 +735,7 @@
sscanf
stat
statfs
+statvfs
strcasecmp
strcasestr
strcat
@@ -756,6 +774,8 @@
strtoull
strtoumax
strxfrm
+swapoff
+swapon
swprintf
swscanf
symlink
@@ -782,6 +802,9 @@
timer_getoverrun
timer_gettime
timer_settime
+timerfd_create
+timerfd_gettime
+timerfd_settime
times
tmpfile
tmpnam
diff --git a/ndk/platforms/android-19/arch-arm/symbols/libc.so.versions.txt b/ndk/platforms/android-19/arch-arm/symbols/libc.so.versions.txt
index b1497fb..63fac19 100644
--- a/ndk/platforms/android-19/arch-arm/symbols/libc.so.versions.txt
+++ b/ndk/platforms/android-19/arch-arm/symbols/libc.so.versions.txt
@@ -141,12 +141,19 @@
__sym_ntos;
__sym_ston;
__system_properties_init;
+ __system_property_add;
+ __system_property_area_init;
__system_property_area__;
__system_property_find;
__system_property_find_nth;
+ __system_property_foreach;
__system_property_get;
__system_property_read;
+ __system_property_serial;
__system_property_set;
+ __system_property_set_filename;
+ __system_property_update;
+ __system_property_wait_any;
__timer_create; # arm x86 mips
__timer_delete; # arm x86 mips
__timer_getoverrun; # arm x86 mips
@@ -165,6 +172,7 @@
_tolower_tab_; # arm x86 mips
_toupper_tab_; # arm x86 mips
abort;
+ abs;
accept;
access;
acct;
@@ -198,6 +206,7 @@
chroot;
clearenv;
clearerr;
+ clearerr_unlocked;
clock;
clock_getres;
clock_gettime;
@@ -260,7 +269,9 @@
fdopen;
fdopendir;
feof;
+ feof_unlocked;
ferror;
+ ferror_unlocked;
fflush;
ffs;
fgetc;
@@ -271,6 +282,7 @@
fgetws;
fgetxattr;
fileno;
+ fileno_unlocked;
flistxattr;
flock;
flockfile;
@@ -297,6 +309,7 @@
fstat;
fstatat;
fstatfs;
+ fstatvfs;
fsync;
ftell;
ftello;
@@ -389,6 +402,8 @@
hstrerror;
if_indextoname;
if_nametoindex;
+ imaxabs;
+ imaxdiv;
inet_addr;
inet_aton;
inet_nsap_addr;
@@ -434,6 +449,7 @@
kill;
killpg;
klogctl;
+ labs;
lchown;
ldexp;
ldiv;
@@ -441,6 +457,7 @@
link;
listen;
listxattr;
+ llabs;
lldiv;
llistxattr;
localtime;
@@ -723,6 +740,7 @@
sscanf;
stat;
statfs;
+ statvfs;
strcasecmp;
strcasestr;
strcat;
@@ -761,6 +779,8 @@
strtoull;
strtoumax;
strxfrm;
+ swapoff;
+ swapon;
swprintf;
swscanf;
symlink;
@@ -789,6 +809,9 @@
timer_getoverrun;
timer_gettime;
timer_settime;
+ timerfd_create;
+ timerfd_gettime;
+ timerfd_settime;
times;
timezone;
tmpfile;
diff --git a/ndk/platforms/android-19/arch-mips/symbols/libc.so.functions.txt b/ndk/platforms/android-19/arch-mips/symbols/libc.so.functions.txt
index 8855b91..01c0354 100644
--- a/ndk/platforms/android-19/arch-mips/symbols/libc.so.functions.txt
+++ b/ndk/platforms/android-19/arch-mips/symbols/libc.so.functions.txt
@@ -128,11 +128,18 @@
__sym_ntos
__sym_ston
__system_properties_init
+__system_property_add
+__system_property_area_init
__system_property_find
__system_property_find_nth
+__system_property_foreach
__system_property_get
__system_property_read
+__system_property_serial
__system_property_set
+__system_property_set_filename
+__system_property_update
+__system_property_wait_any
__timer_create
__timer_delete
__timer_getoverrun
@@ -149,6 +156,7 @@
_longjmp
_setjmp
abort
+abs
accept
access
acct
@@ -183,6 +191,7 @@
chroot
clearenv
clearerr
+clearerr_unlocked
clock
clock_getres
clock_gettime
@@ -243,7 +252,9 @@
fdopen
fdopendir
feof
+feof_unlocked
ferror
+ferror_unlocked
fflush
ffs
fgetc
@@ -254,6 +265,7 @@
fgetws
fgetxattr
fileno
+fileno_unlocked
flistxattr
flock
flockfile
@@ -280,6 +292,7 @@
fstat
fstatat
fstatfs
+fstatvfs
fsync
ftell
ftello
@@ -372,6 +385,8 @@
hstrerror
if_indextoname
if_nametoindex
+imaxabs
+imaxdiv
inet_addr
inet_aton
inet_nsap_addr
@@ -417,6 +432,7 @@
kill
killpg
klogctl
+labs
lchown
ldexp
ldiv
@@ -424,6 +440,7 @@
link
listen
listxattr
+llabs
lldiv
llistxattr
localtime
@@ -701,6 +718,7 @@
sscanf
stat
statfs
+statvfs
strcasecmp
strcasestr
strcat
@@ -739,6 +757,8 @@
strtoull
strtoumax
strxfrm
+swapoff
+swapon
swprintf
swscanf
symlink
@@ -765,6 +785,9 @@
timer_getoverrun
timer_gettime
timer_settime
+timerfd_create
+timerfd_gettime
+timerfd_settime
times
tmpfile
tmpnam
diff --git a/ndk/platforms/android-19/arch-mips/symbols/libc.so.versions.txt b/ndk/platforms/android-19/arch-mips/symbols/libc.so.versions.txt
index 505e40e..55849a1 100644
--- a/ndk/platforms/android-19/arch-mips/symbols/libc.so.versions.txt
+++ b/ndk/platforms/android-19/arch-mips/symbols/libc.so.versions.txt
@@ -137,12 +137,19 @@
__sym_ntos;
__sym_ston;
__system_properties_init;
+ __system_property_add;
+ __system_property_area_init;
__system_property_area__;
__system_property_find;
__system_property_find_nth;
+ __system_property_foreach;
__system_property_get;
__system_property_read;
+ __system_property_serial;
__system_property_set;
+ __system_property_set_filename;
+ __system_property_update;
+ __system_property_wait_any;
__timer_create; # arm x86 mips
__timer_delete; # arm x86 mips
__timer_getoverrun; # arm x86 mips
@@ -162,6 +169,7 @@
_tolower_tab_; # arm x86 mips
_toupper_tab_; # arm x86 mips
abort;
+ abs;
accept;
access;
acct;
@@ -195,6 +203,7 @@
chroot;
clearenv;
clearerr;
+ clearerr_unlocked;
clock;
clock_getres;
clock_gettime;
@@ -257,7 +266,9 @@
fdopen;
fdopendir;
feof;
+ feof_unlocked;
ferror;
+ ferror_unlocked;
fflush;
ffs;
fgetc;
@@ -268,6 +279,7 @@
fgetws;
fgetxattr;
fileno;
+ fileno_unlocked;
flistxattr;
flock;
flockfile;
@@ -294,6 +306,7 @@
fstat;
fstatat;
fstatfs;
+ fstatvfs;
fsync;
ftell;
ftello;
@@ -386,6 +399,8 @@
hstrerror;
if_indextoname;
if_nametoindex;
+ imaxabs;
+ imaxdiv;
inet_addr;
inet_aton;
inet_nsap_addr;
@@ -431,6 +446,7 @@
kill;
killpg;
klogctl;
+ labs;
lchown;
ldexp;
ldiv;
@@ -438,6 +454,7 @@
link;
listen;
listxattr;
+ llabs;
lldiv;
llistxattr;
localtime;
@@ -720,6 +737,7 @@
sscanf;
stat;
statfs;
+ statvfs;
strcasecmp;
strcasestr;
strcat;
@@ -758,6 +776,8 @@
strtoull;
strtoumax;
strxfrm;
+ swapoff;
+ swapon;
swprintf;
swscanf;
symlink;
@@ -786,6 +806,9 @@
timer_getoverrun;
timer_gettime;
timer_settime;
+ timerfd_create;
+ timerfd_gettime;
+ timerfd_settime;
times;
timezone;
tmpfile;
diff --git a/ndk/platforms/android-19/arch-x86/symbols/libc.so.functions.txt b/ndk/platforms/android-19/arch-x86/symbols/libc.so.functions.txt
index a80186a..5e46699 100644
--- a/ndk/platforms/android-19/arch-x86/symbols/libc.so.functions.txt
+++ b/ndk/platforms/android-19/arch-x86/symbols/libc.so.functions.txt
@@ -128,11 +128,18 @@
__sym_ntos
__sym_ston
__system_properties_init
+__system_property_add
+__system_property_area_init
__system_property_find
__system_property_find_nth
+__system_property_foreach
__system_property_get
__system_property_read
+__system_property_serial
__system_property_set
+__system_property_set_filename
+__system_property_update
+__system_property_wait_any
__timer_create
__timer_delete
__timer_getoverrun
@@ -148,6 +155,7 @@
_longjmp
_setjmp
abort
+abs
accept
access
acct
@@ -181,6 +189,7 @@
chroot
clearenv
clearerr
+clearerr_unlocked
clock
clock_getres
clock_gettime
@@ -241,7 +250,9 @@
fdopen
fdopendir
feof
+feof_unlocked
ferror
+ferror_unlocked
fflush
ffs
fgetc
@@ -252,6 +263,7 @@
fgetws
fgetxattr
fileno
+fileno_unlocked
flistxattr
flock
flockfile
@@ -278,6 +290,7 @@
fstat
fstatat
fstatfs
+fstatvfs
fsync
ftell
ftello
@@ -370,6 +383,8 @@
hstrerror
if_indextoname
if_nametoindex
+imaxabs
+imaxdiv
inet_addr
inet_aton
inet_nsap_addr
@@ -415,6 +430,7 @@
kill
killpg
klogctl
+labs
lchown
ldexp
ldiv
@@ -422,6 +438,7 @@
link
listen
listxattr
+llabs
lldiv
llistxattr
localtime
@@ -699,6 +716,7 @@
sscanf
stat
statfs
+statvfs
strcasecmp
strcasestr
strcat
@@ -737,6 +755,8 @@
strtoull
strtoumax
strxfrm
+swapoff
+swapon
swprintf
swscanf
symlink
@@ -763,6 +783,9 @@
timer_getoverrun
timer_gettime
timer_settime
+timerfd_create
+timerfd_gettime
+timerfd_settime
times
tmpfile
tmpnam
diff --git a/ndk/platforms/android-19/arch-x86/symbols/libc.so.versions.txt b/ndk/platforms/android-19/arch-x86/symbols/libc.so.versions.txt
index c4c9133..56bf688 100644
--- a/ndk/platforms/android-19/arch-x86/symbols/libc.so.versions.txt
+++ b/ndk/platforms/android-19/arch-x86/symbols/libc.so.versions.txt
@@ -137,12 +137,19 @@
__sym_ntos;
__sym_ston;
__system_properties_init;
+ __system_property_add;
+ __system_property_area_init;
__system_property_area__;
__system_property_find;
__system_property_find_nth;
+ __system_property_foreach;
__system_property_get;
__system_property_read;
+ __system_property_serial;
__system_property_set;
+ __system_property_set_filename;
+ __system_property_update;
+ __system_property_wait_any;
__timer_create; # arm x86 mips
__timer_delete; # arm x86 mips
__timer_getoverrun; # arm x86 mips
@@ -161,6 +168,7 @@
_tolower_tab_; # arm x86 mips
_toupper_tab_; # arm x86 mips
abort;
+ abs;
accept;
access;
acct;
@@ -193,6 +201,7 @@
chroot;
clearenv;
clearerr;
+ clearerr_unlocked;
clock;
clock_getres;
clock_gettime;
@@ -255,7 +264,9 @@
fdopen;
fdopendir;
feof;
+ feof_unlocked;
ferror;
+ ferror_unlocked;
fflush;
ffs;
fgetc;
@@ -266,6 +277,7 @@
fgetws;
fgetxattr;
fileno;
+ fileno_unlocked;
flistxattr;
flock;
flockfile;
@@ -292,6 +304,7 @@
fstat;
fstatat;
fstatfs;
+ fstatvfs;
fsync;
ftell;
ftello;
@@ -384,6 +397,8 @@
hstrerror;
if_indextoname;
if_nametoindex;
+ imaxabs;
+ imaxdiv;
inet_addr;
inet_aton;
inet_nsap_addr;
@@ -429,6 +444,7 @@
kill;
killpg;
klogctl;
+ labs;
lchown;
ldexp;
ldiv;
@@ -436,6 +452,7 @@
link;
listen;
listxattr;
+ llabs;
lldiv;
llistxattr;
localtime;
@@ -718,6 +735,7 @@
sscanf;
stat;
statfs;
+ statvfs;
strcasecmp;
strcasestr;
strcat;
@@ -756,6 +774,8 @@
strtoull;
strtoumax;
strxfrm;
+ swapoff;
+ swapon;
swprintf;
swscanf;
symlink;
@@ -784,6 +804,9 @@
timer_getoverrun;
timer_gettime;
timer_settime;
+ timerfd_create;
+ timerfd_gettime;
+ timerfd_settime;
times;
timezone;
tmpfile;