Remove non-existanec functions/variables from libc.so

See b.android.com/69319

android-9+
  __evOptMonoTime
  _nres
  __p_default_section_syms
  __p_update_section_syms
  _rand48_add
  _rand48_mult
  _rand48_seed
  _res_opcodes
  __sFext

android-12+
  copy_tm_to_TM
  copy_TM_to_tm
  __dtoa
  _endhtent
  __fremovelock
  _gethtbyaddr
  _gethtbyname
  _gethtbyname2
  _gethtent
  __libc_android_abort
  _mktemp                 # mktemp already exist in header
  __pread64               # add pread64, pwrite64 and ftruncate64 to API >= 12
  __pwrite64
  res_need_init
  __res_ourserver_p
  _sethtent
  __set_syscall_errno
  __sfvwrite
  __timer_table_start_stop
  valid_tm_mon
  valid_tm_wday

android-14+
  __libc_android_log_assert
  __libc_android_log_print
  __libc_android_log_vprint

android-17+
  dlmalloc_walk_free_pages
  dlmalloc_walk_heap
  __get_pc

android-18+
  __get_res_cache
  __libc_init_common
  __libc_preinit

Change-Id: Ie67acf115427e808dde0e33411671b07a888a9b6
This commit is contained in:
Andrew Hsieh
2014-05-12 14:07:07 +08:00
parent 154e19fda6
commit 1e61663835
34 changed files with 9339 additions and 203 deletions

View File

@@ -110,7 +110,6 @@ __dn_comp
__dn_count_labels
__dn_skipname
__dorand48
__dtoa
__eqdf2
__errno
__evAddTime
@@ -139,7 +138,6 @@ __floatunsisf
__fork
__fp_nquery
__fp_query
__fremovelock
__fstatfs64
__futex_syscall3
__futex_syscall4
@@ -181,7 +179,6 @@ __hostalias
__init_tls
__ioctl
__ledf2
__libc_android_abort
__libc_android_log_assert
__libc_android_log_print
__libc_android_log_vprint
@@ -236,7 +233,6 @@ __p_section
__p_sockun
__p_time
__p_type
__pread64
__pthread_cleanup_pop
__pthread_cleanup_push
__pthread_clone
@@ -245,7 +241,6 @@ __pthread_cond_timedwait_relative
__ptrace
__putlong
__putshort
__pwrite64
__reboot
__res_close
__res_dnok
@@ -271,7 +266,6 @@ __res_nquerydomain
__res_nsearch
__res_nsend
__res_opt
__res_ourserver_p
__res_ownok
__res_pquery
__res_put_state
@@ -288,7 +282,6 @@ __rt_sigaction
__rt_sigprocmask
__rt_sigtimedwait
__sclose
__set_syscall_errno
__set_tls
__setresuid
__setreuid
@@ -296,7 +289,6 @@ __setuid
__sflags
__sflush
__sfp
__sfvwrite
__sigsuspend
__sinit
__slbexpand
@@ -330,7 +322,6 @@ __timer_delete
__timer_getoverrun
__timer_gettime
__timer_settime
__timer_table_start_stop
__truncdfsf2
__udivdi3
__udivsi3
@@ -340,21 +331,14 @@ __wait4
__waitid
_cleanup
_dorand48
_endhtent
_exit
_exit_thread
_exit_with_stack_teardown
_fwalk
_gethtbyaddr
_gethtbyname
_gethtbyname2
_gethtent
_getlong
_getshort
_init_thread
_longjmp
_mktemp
_sethtent
_setjmp
_thread_created_hook
abort
@@ -408,8 +392,6 @@ closedir
closelog
closelog_r
connect
copy_TM_to_tm
copy_tm_to_TM
cpuacct_add
creat
ctime
@@ -517,6 +499,7 @@ ftello
ftime
ftok
ftruncate
ftruncate64
ftrylockfile
fts_children
fts_close
@@ -721,6 +704,7 @@ poll
popen
prctl
pread
pread64
printf
pselect
pthread_attr_destroy
@@ -812,6 +796,7 @@ putw
putwc
putwchar
pwrite
pwrite64
qsort
raise
read
@@ -834,7 +819,6 @@ rename
renameat
res_init
res_mkquery
res_need_init
res_query
res_search
restore_core_regs
@@ -1010,8 +994,6 @@ utime
utimensat
utimes
utmpname
valid_tm_mon
valid_tm_wday
valloc
vasprintf
verr

View File

@@ -4,17 +4,14 @@ _C_toupper_
__atexit
__atexit_invalid
__bionic_brk
__evOptMonoTime
__isthreaded
__libc_malloc_default_dispatch
__libc_malloc_dispatch
__p_cert_syms
__p_class_syms
__p_default_section_syms
__p_key_syms
__p_rcode_syms
__p_type_syms
__p_update_section_syms
__page_shift
__page_size
__progname
@@ -22,18 +19,12 @@ __rand48_add
__rand48_mult
__rand48_seed
__sF
__sFext
__sdidinit
__sglue
__stack_chk_guard
__system_property_area__
_ctype_
_nres
_ns_flagdata
_rand48_add
_rand48_mult
_rand48_seed
_res_opcodes
_tolower_tab_
_toupper_tab_
daylight

View File

@@ -23,7 +23,6 @@ __dn_comp
__dn_count_labels
__dn_skipname
__dorand48
__dtoa
__errno
__evAddTime
__evCmpTime
@@ -40,7 +39,6 @@ __findenv
__fork
__fp_nquery
__fp_query
__fremovelock
__fstatfs64
__futex_syscall3
__futex_syscall4
@@ -108,7 +106,6 @@ __p_section
__p_sockun
__p_time
__p_type
__pread64
__pthread_cleanup_pop
__pthread_cleanup_push
__pthread_clone
@@ -117,7 +114,6 @@ __pthread_cond_timedwait_relative
__ptrace
__putlong
__putshort
__pwrite64
__reboot
__res_close
__res_dnok
@@ -143,7 +139,6 @@ __res_nquerydomain
__res_nsearch
__res_nsend
__res_opt
__res_ourserver_p
__res_ownok
__res_pquery
__res_put_state
@@ -159,7 +154,6 @@ __rt_sigaction
__rt_sigprocmask
__rt_sigtimedwait
__sclose
__set_syscall_errno
__set_thread_area
__set_tls
__setresuid
@@ -168,7 +162,6 @@ __setuid
__sflags
__sflush
__sfp
__sfvwrite
__sigsuspend
__sinit
__slbexpand
@@ -200,27 +193,19 @@ __timer_delete
__timer_getoverrun
__timer_gettime
__timer_settime
__timer_table_start_stop
__wait4
__waitid
_cleanup
_dorand48
_endhtent
_exit
_exit_thread
_exit_with_stack_teardown
_flush_cache
_fwalk
_gethtbyaddr
_gethtbyname
_gethtbyname2
_gethtent
_getlong
_getshort
_init_thread
_longjmp
_mktemp
_sethtent
_setjmp
_thread_created_hook
_waitpid
@@ -275,8 +260,6 @@ closedir
closelog
closelog_r
connect
copy_TM_to_tm
copy_tm_to_TM
cpuacct_add
creat
ctime
@@ -384,6 +367,7 @@ ftello
ftime
ftok
ftruncate
ftruncate64
ftrylockfile
fts_children
fts_close
@@ -588,6 +572,7 @@ poll
popen
prctl
pread
pread64
printf
pselect
pthread_attr_destroy
@@ -679,6 +664,7 @@ putw
putwc
putwchar
pwrite
pwrite64
qsort
raise
read
@@ -701,7 +687,6 @@ rename
renameat
res_init
res_mkquery
res_need_init
res_query
res_search
rewind
@@ -876,8 +861,6 @@ utime
utimes
utimensat
utmpname
valid_tm_mon
valid_tm_wday
valloc
vasprintf
verr

View File

@@ -4,17 +4,14 @@ _C_toupper_
__atexit
__atexit_invalid
__bionic_brk
__evOptMonoTime
__isthreaded
__libc_malloc_default_dispatch
__libc_malloc_dispatch
__p_cert_syms
__p_class_syms
__p_default_section_syms
__p_key_syms
__p_rcode_syms
__p_type_syms
__p_update_section_syms
__page_shift
__page_size
__progname
@@ -22,18 +19,12 @@ __rand48_add
__rand48_mult
__rand48_seed
__sF
__sFext
__sdidinit
__sglue
__stack_chk_guard
__system_property_area__
_ctype_
_nres
_ns_flagdata
_rand48_add
_rand48_mult
_rand48_seed
_res_opcodes
_tolower_tab_
_toupper_tab_
daylight

View File

@@ -19,7 +19,6 @@ __dn_comp
__dn_count_labels
__dn_skipname
__dorand48
__dtoa
__errno
__evAddTime
__evCmpTime
@@ -36,7 +35,6 @@ __findenv
__fork
__fp_nquery
__fp_query
__fremovelock
__fstatfs64
__futex_syscall3
__futex_syscall4
@@ -104,7 +102,6 @@ __p_section
__p_sockun
__p_time
__p_type
__pread64
__pthread_cleanup_pop
__pthread_cleanup_push
__pthread_clone
@@ -113,7 +110,6 @@ __pthread_cond_timedwait_relative
__ptrace
__putlong
__putshort
__pwrite64
__reboot
__res_close
__res_dnok
@@ -139,7 +135,6 @@ __res_nquerydomain
__res_nsearch
__res_nsend
__res_opt
__res_ourserver_p
__res_ownok
__res_pquery
__res_put_state
@@ -155,7 +150,6 @@ __rt_sigaction
__rt_sigprocmask
__rt_sigtimedwait
__sclose
__set_syscall_errno
__set_thread_area
__set_tls
__setresuid
@@ -164,7 +158,6 @@ __setuid
__sflags
__sflush
__sfp
__sfvwrite
__sigsuspend
__sinit
__slbexpand
@@ -196,28 +189,20 @@ __timer_delete
__timer_getoverrun
__timer_gettime
__timer_settime
__timer_table_start_stop
__udivdi3
__umoddi3
__wait4
__waitid
_cleanup
_dorand48
_endhtent
_exit
_exit_thread
_exit_with_stack_teardown
_fwalk
_gethtbyaddr
_gethtbyname
_gethtbyname2
_gethtent
_getlong
_getshort
_init_thread
_longjmp
_mktemp
_sethtent
_setjmp
_thread_created_hook
_waitpid
@@ -270,8 +255,6 @@ closedir
closelog
closelog_r
connect
copy_TM_to_tm
copy_tm_to_TM
cpuacct_add
creat
ctime
@@ -378,6 +361,7 @@ ftello
ftime
ftok
ftruncate
ftruncate64
ftrylockfile
fts_children
fts_close
@@ -582,6 +566,7 @@ poll
popen
prctl
pread
pread64
printf
pselect
pthread_attr_destroy
@@ -673,6 +658,7 @@ putw
putwc
putwchar
pwrite
pwrite64
qsort
raise
read
@@ -695,7 +681,6 @@ rename
renameat
res_init
res_mkquery
res_need_init
res_query
res_search
rewind
@@ -870,8 +855,6 @@ utime
utimensat
utimes
utmpname
valid_tm_mon
valid_tm_wday
valloc
vasprintf
verr

View File

@@ -4,17 +4,14 @@ _C_toupper_
__atexit
__atexit_invalid
__bionic_brk
__evOptMonoTime
__isthreaded
__libc_malloc_default_dispatch
__libc_malloc_dispatch
__p_cert_syms
__p_class_syms
__p_default_section_syms
__p_key_syms
__p_rcode_syms
__p_type_syms
__p_update_section_syms
__page_shift
__page_size
__progname
@@ -22,18 +19,12 @@ __rand48_add
__rand48_mult
__rand48_seed
__sF
__sFext
__sdidinit
__sglue
__stack_chk_guard
__system_property_area__
_ctype_
_nres
_ns_flagdata
_rand48_add
_rand48_mult
_rand48_seed
_res_opcodes
_tolower_tab_
_toupper_tab_
daylight