From a3dd076126df616b75b4fc4484f4750e0e3e6a7f Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Mon, 14 Dec 2015 14:18:55 -0800 Subject: Revert "Don't verify version scripts on 32-bit Brillo" This reverts commit 31951b7f0dc7ce577a21682e54362b0cf2913e11. Bug: http://b/26164862 --- libc/Android.mk | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libc/Android.mk b/libc/Android.mk index 2c29f2409..456527a11 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -1424,14 +1424,6 @@ LOCAL_LDFLAGS_mips64 += -Wl,--version-script,$(LOCAL_PATH)/libc.mips64.map LOCAL_LDFLAGS_x86 += -Wl,--version-script,$(LOCAL_PATH)/libc.x86.map LOCAL_LDFLAGS_x86_64 += -Wl,--version-script,$(LOCAL_PATH)/libc.x86_64.map -# Brillo doesn't use the same libc 32-bit ABI as Android (no ndk cruft) -ifdef BRILLO -# TODO: b/26164862 provide alternate version scripts instead of disabling verification. -LOCAL_LDFLAGS_arm += -Wl,--undefined-version -LOCAL_LDFLAGS_mips += -Wl,--undefined-version -LOCAL_LDFLAGS_x86 += -Wl,--undefined-version -endif - # We'd really like to do this for all architectures, but since this wasn't done # before, these symbols must continue to be exported on LP32 for binary # compatibility. -- cgit v1.2.3 From 585e9598493d3b4a0e545dad35c0f361d4ad2d3e Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Mon, 14 Dec 2015 14:07:52 -0800 Subject: Generate libc version-script for brillo Brillo doesn't use the ndk cruft, so we need separate set of version scripts. Added new "nobrillo" tag to mark such symbols in *.map.txt files. Bug: http://b/26164862 Change-Id: Iaee1b7119f75b68c2971679fc32817e6df29fd94 --- libc/Android.mk | 19 +- libc/libc.arm.brillo.map | 1420 ++++++++++++++++++++++++++++++++++++++ libc/libc.arm.map | 76 +- libc/libc.arm64.brillo.map | 1185 +++++++++++++++++++++++++++++++ libc/libc.arm64.map | 6 +- libc/libc.map.txt | 76 +- libc/libc.mips.brillo.map | 1276 ++++++++++++++++++++++++++++++++++ libc/libc.mips.map | 76 +- libc/libc.mips64.brillo.map | 1185 +++++++++++++++++++++++++++++++ libc/libc.mips64.map | 6 +- libc/libc.x86.brillo.map | 1275 ++++++++++++++++++++++++++++++++++ libc/libc.x86.map | 76 +- libc/libc.x86_64.brillo.map | 1185 +++++++++++++++++++++++++++++++ libc/libc.x86_64.map | 6 +- libc/tools/genversion-scripts.py | 34 +- 15 files changed, 7724 insertions(+), 177 deletions(-) create mode 100644 libc/libc.arm.brillo.map create mode 100644 libc/libc.arm64.brillo.map create mode 100644 libc/libc.mips.brillo.map create mode 100644 libc/libc.mips64.brillo.map create mode 100644 libc/libc.x86.brillo.map create mode 100644 libc/libc.x86_64.brillo.map diff --git a/libc/Android.mk b/libc/Android.mk index 456527a11..20442f714 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -1386,6 +1386,12 @@ LOCAL_ADDITIONAL_DEPENDENCIES := \ $(LOCAL_PATH)/libc.mips64.map \ $(LOCAL_PATH)/libc.x86.map \ $(LOCAL_PATH)/libc.x86_64.map \ + $(LOCAL_PATH)/libc.arm.brillo.map \ + $(LOCAL_PATH)/libc.arm64.brillo.map \ + $(LOCAL_PATH)/libc.mips.brillo.map \ + $(LOCAL_PATH)/libc.mips64.brillo.map \ + $(LOCAL_PATH)/libc.x86.brillo.map \ + $(LOCAL_PATH)/libc.x86_64.brillo.map \ # Leave the symbols in the shared library so that stack unwinders can produce # meaningful name resolution. @@ -1417,12 +1423,21 @@ LOCAL_LDFLAGS_arm := -Wl,--hash-style=both LOCAL_LDFLAGS_x86 := -Wl,--hash-style=both # Don't re-export new/delete and friends, even if the compiler really wants to. +ifdef BRILLO +LOCAL_LDFLAGS_arm += -Wl,--version-script,$(LOCAL_PATH)/libc.arm.brillo.map +LOCAL_LDFLAGS_mips += -Wl,--version-script,$(LOCAL_PATH)/libc.mips.brillo.map +LOCAL_LDFLAGS_x86 += -Wl,--version-script,$(LOCAL_PATH)/libc.x86.brillo.map +LOCAL_LDFLAGS_arm64 += -Wl,--version-script,$(LOCAL_PATH)/libc.arm64.brillo.map +LOCAL_LDFLAGS_mips64 += -Wl,--version-script,$(LOCAL_PATH)/libc.mips64.brillo.map +LOCAL_LDFLAGS_x86_64 += -Wl,--version-script,$(LOCAL_PATH)/libc.x86_64.brillo.map +else LOCAL_LDFLAGS_arm += -Wl,--version-script,$(LOCAL_PATH)/libc.arm.map -LOCAL_LDFLAGS_arm64 += -Wl,--version-script,$(LOCAL_PATH)/libc.arm64.map LOCAL_LDFLAGS_mips += -Wl,--version-script,$(LOCAL_PATH)/libc.mips.map -LOCAL_LDFLAGS_mips64 += -Wl,--version-script,$(LOCAL_PATH)/libc.mips64.map LOCAL_LDFLAGS_x86 += -Wl,--version-script,$(LOCAL_PATH)/libc.x86.map +LOCAL_LDFLAGS_arm64 += -Wl,--version-script,$(LOCAL_PATH)/libc.arm64.map +LOCAL_LDFLAGS_mips64 += -Wl,--version-script,$(LOCAL_PATH)/libc.mips64.map LOCAL_LDFLAGS_x86_64 += -Wl,--version-script,$(LOCAL_PATH)/libc.x86_64.map +endif # We'd really like to do this for all architectures, but since this wasn't done # before, these symbols must continue to be exported on LP32 for binary diff --git a/libc/libc.arm.brillo.map b/libc/libc.arm.brillo.map new file mode 100644 index 000000000..4dd448146 --- /dev/null +++ b/libc/libc.arm.brillo.map @@ -0,0 +1,1420 @@ +# Generated by genversionscripts.py. Do not edit. +LIBC { + global: + __assert; + __assert2; + __atomic_cmpxchg; # arm + __atomic_dec; # arm + __atomic_inc; # arm + __atomic_swap; # arm + __b64_ntop; + __b64_pton; + __brk; # arm x86 mips + __cmpdf2; # arm + __cmsg_nxthdr; + __connect; # arm x86 mips + __ctype_get_mb_cur_max; + __cxa_atexit; + __cxa_finalize; + __cxa_thread_atexit_impl; + __divdf3; # arm + __divdi3; # arm x86 mips + __divsf3; # arm + __divsi3; # arm + __dn_comp; + __dn_count_labels; + __dn_skipname; + __epoll_pwait; # arm x86 mips + __eqdf2; # arm + __errno; + __exit; # arm x86 mips + __extendsfdf2; # arm + __fbufsize; + __fcntl64; # arm x86 mips + __FD_CLR_chk; + __FD_ISSET_chk; + __FD_SET_chk; + __fgets_chk; + __fixdfsi; # arm + __fixsfsi; # arm + __fixunssfsi; # arm + __flbf; + __floatdidf; # arm + __floatdisf; # arm + __floatsidf; # arm + __floatsisf; # arm + __floatundidf; # arm + __floatundisf; # arm + __floatunsidf; # arm + __floatunsisf; # arm + __fp_nquery; + __fp_query; + __fpclassify; + __fpclassifyd; + __fpclassifyf; + __fpclassifyl; + __fpending; + __fpurge; + __freadable; + __fsetlocking; + __fstatfs64; # arm x86 mips + __fwritable; + __gedf2; # arm + __get_h_errno; + __getcpu; # arm x86 mips + __getcwd; # arm x86 mips + __getdents64; # arm x86 mips + __getpid; # arm x86 mips + __getpriority; # arm x86 mips + __gnu_basename; + __gnu_ldivmod_helper; # arm + __gnu_strerror_r; + __gnu_uldivmod_helper; # arm + __gtdf2; # arm + __hostalias; + __ioctl; # arm x86 mips + __isfinite; + __isfinitef; + __isfinitel; + __isinf; + __isinff; + __isinfl; + __isnan; + __isnanf; + __isnanl; + __isnormal; + __isnormalf; + __isnormall; + __isthreaded; + __ledf2; # arm + __libc_current_sigrtmax; + __libc_current_sigrtmin; + __libc_init; + __llseek; # arm x86 mips + __loc_aton; + __loc_ntoa; + __lshrdi3; # arm + __ltdf2; # arm + __memchr_chk; + __memcpy_chk; + __memmove_chk; + __memrchr_chk; + __memset_chk; + __mmap2; # arm x86 mips + __muldf3; # arm + __muldi3; # arm + __mulsf3; # arm + __nedf2; # arm + __ns_format_ttl; # arm x86 mips + __ns_get16; # arm x86 mips + __ns_get32; # arm x86 mips + __ns_initparse; # arm x86 mips + __ns_makecanon; # arm x86 mips + __ns_msg_getflag; # arm x86 mips + __ns_name_compress; # arm x86 mips + __ns_name_ntol; # arm x86 mips + __ns_name_ntop; # arm x86 mips + __ns_name_pack; # arm x86 mips + __ns_name_pton; # arm x86 mips + __ns_name_rollback; # arm x86 mips + __ns_name_skip; # arm x86 mips + __ns_name_uncompress; # arm x86 mips + __ns_name_unpack; # arm x86 mips + __ns_parserr; # arm x86 mips + __ns_put16; # arm x86 mips + __ns_put32; # arm x86 mips + __ns_samename; # arm x86 mips + __ns_skiprr; # arm x86 mips + __ns_sprintrr; # arm x86 mips + __ns_sprintrrf; # arm x86 mips + __open_2; + __openat; # arm x86 mips + __openat_2; + __p_cdname; + __p_cdnname; + __p_class; + __p_class_syms; + __p_fqname; + __p_fqnname; + __p_option; + __p_query; + __p_rcode; + __p_secstodate; + __p_time; + __p_type; + __p_type_syms; + __poll_chk; + __popcount_tab; # arm + __popcountsi2; # arm x86 mips + __ppoll; # arm x86 mips + __ppoll_chk; + __pread64_chk; + __pread_chk; + __progname; + __pselect6; # arm x86 mips + __pthread_cleanup_pop; + __pthread_cleanup_push; + __ptrace; # arm x86 mips + __putlong; + __putshort; + __read_chk; + __readlink_chk; + __readlinkat_chk; + __reboot; # arm x86 mips + __recvfrom_chk; + __register_atfork; + __res_close; + __res_dnok; + __res_hnok; + __res_hostalias; + __res_isourserver; + __res_mailok; + __res_nameinquery; + __res_nclose; + __res_ninit; + __res_nmkquery; + __res_nquery; + __res_nquerydomain; + __res_nsearch; + __res_nsend; + __res_ownok; + __res_queriesmatch; + __res_querydomain; + __res_send; + __res_send_setqhook; + __res_send_setrhook; + __restore_core_regs; # arm + __rt_sigaction; # arm x86 mips + __rt_sigpending; # arm x86 mips + __rt_sigprocmask; # arm x86 mips + __rt_sigsuspend; # arm x86 mips + __rt_sigtimedwait; # arm x86 mips + __sched_cpualloc; + __sched_cpucount; + __sched_cpufree; + __sched_getaffinity; # arm x86 mips + __sclose; # arm x86 mips + __set_tid_address; # arm x86 mips + __set_tls; # arm mips + __sF; + __sflags; # arm x86 mips + __sflush; # arm x86 mips + __sfp; # arm x86 mips + __sglue; # arm x86 mips + __sigaction; # arm x86 mips + __signalfd4; # arm x86 mips + __smakebuf; # arm x86 mips + __snprintf_chk; + __socket; # arm x86 mips + __sprintf_chk; + __sread; # arm x86 mips + __srefill; # arm x86 mips + __srget; # arm x86 mips + __sseek; # arm x86 mips + __stack_chk_fail; + __stack_chk_guard; + __statfs64; # arm x86 mips + __stpcpy_chk; + __stpncpy_chk; + __stpncpy_chk2; + __strcat_chk; + __strchr_chk; + __strcpy_chk; + __strlcat_chk; + __strlcpy_chk; + __strlen_chk; + __strncat_chk; + __strncpy_chk; + __strncpy_chk2; + __strrchr_chk; + __subdf3; # arm + __subsf3; # arm + __swbuf; # arm x86 mips + __swrite; # arm x86 mips + __swsetup; # arm x86 mips + __sym_ntop; + __sym_ntos; + __sym_ston; + __system_properties_init; + __system_property_add; + __system_property_area__; + __system_property_area_init; + __system_property_area_serial; + __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 + __timer_gettime; # arm x86 mips + __timer_settime; # arm x86 mips + __truncdfsf2; # arm + __udivdi3; # arm x86 mips + __udivsi3; # arm + __umask_chk; + __unorddf2; # arm + __unordsf2; # arm + __vsnprintf_chk; + __vsprintf_chk; + __waitid; # arm x86 mips + _ctype_; + _Exit; + _exit; + _flushlbf; + _fwalk; # arm x86 mips + _getlong; + _getshort; + _longjmp; + _resolv_delete_cache_for_net; + _resolv_flush_cache_for_net; + _resolv_set_nameservers_for_net; + _setjmp; + _tolower; + _tolower_tab_; # arm x86 mips + _toupper; + _toupper_tab_; # arm x86 mips + abort; + abs; + accept; + accept4; + access; + acct; + alarm; + alphasort; + alphasort64; + android_getaddrinfofornet; + android_getaddrinfofornetcontext; + android_gethostbyaddrfornet; + android_gethostbynamefornet; + android_set_abort_message; + arc4random; + arc4random_buf; + arc4random_uniform; + asctime; + asctime64; # arm x86 mips + asctime64_r; # arm x86 mips + asctime_r; + asprintf; + at_quick_exit; + atof; + atoi; + atol; + atoll; + basename; + basename_r; # arm x86 mips + bind; + bindresvport; + brk; + bsearch; + btowc; + bzero; # arm x86 mips + c16rtomb; + c32rtomb; + cacheflush; # arm mips + calloc; + capget; + capset; + cfgetispeed; + cfgetospeed; + cfmakeraw; + cfsetispeed; + cfsetospeed; + cfsetspeed; + chdir; + chmod; + chown; + chroot; + clearenv; + clearerr; + clearerr_unlocked; + clock; + clock_getcpuclockid; + clock_getres; + clock_gettime; + clock_nanosleep; + clock_settime; + clone; + close; + closedir; + closelog; + connect; + creat; + creat64; + ctime; + ctime64; # arm x86 mips + ctime64_r; # arm x86 mips + ctime_r; + daemon; + daylight; + delete_module; + difftime; + dirfd; + dirname; + dirname_r; # arm x86 mips + div; + dn_expand; + dprintf; + drand48; + dup; + dup2; + dup3; + duplocale; + endmntent; + endservent; + endutent; + environ; + epoll_create; + epoll_create1; + epoll_ctl; + epoll_pwait; + epoll_wait; + erand48; + err; + error; + error_at_line; + error_message_count; + error_one_per_line; + error_print_progname; + errx; + ether_aton; + ether_aton_r; + ether_ntoa; + ether_ntoa_r; + eventfd; + eventfd_read; + eventfd_write; + execl; + execle; + execlp; + execv; + execve; + execvp; + execvpe; + exit; + faccessat; + fake_gmtime_r; # arm x86 mips + fake_localtime_r; # arm x86 mips + fallocate; + fallocate64; + fchdir; + fchmod; + fchmodat; + fchown; + fchownat; + fclose; + fcntl; + fdatasync; + fdopen; + fdopendir; + feof; + feof_unlocked; + ferror; + ferror_unlocked; + fflush; + ffs; + fgetc; + fgetln; + fgetpos; + fgets; + fgetwc; + fgetws; + fgetxattr; + fileno; + flistxattr; + flock; + flockfile; + fmemopen; + fnmatch; + fopen; + fork; + forkpty; + fpathconf; + fprintf; + fpurge; + fputc; + fputs; + fputwc; + fputws; + fread; + free; + free_malloc_leak_info; + freeaddrinfo; + freelocale; + fremovexattr; + freopen; + fscanf; + fseek; + fseeko; + fsetpos; + fsetxattr; + fstat; + fstat64; + fstatat; + fstatat64; + fstatfs; + fstatfs64; + fstatvfs; + fstatvfs64; + fsync; + ftell; + ftello; + ftok; + ftruncate; + ftruncate64; + ftrylockfile; + fts_children; + fts_close; + fts_open; + fts_read; + fts_set; + ftw; + ftw64; + funlockfile; + funopen; + futimens; + fwide; + fwprintf; + fwrite; + fwscanf; + gai_strerror; + get_avphys_pages; + get_malloc_leak_info; + get_nprocs; + get_nprocs_conf; + get_phys_pages; + getaddrinfo; + getauxval; + getc; + getc_unlocked; + getchar; + getchar_unlocked; + getcwd; + getdelim; + getegid; + getenv; + geteuid; + getgid; + getgrgid; + getgrnam; + getgrouplist; + getgroups; + gethostbyaddr; + gethostbyaddr_r; + gethostbyname; + gethostbyname2; + gethostbyname2_r; + gethostbyname_r; + gethostent; + gethostname; + getitimer; + getline; + getlogin; + getmntent; + getmntent_r; + getnameinfo; + getnetbyaddr; + getnetbyname; + getopt; + getopt_long; + getopt_long_only; + getpagesize; + getpeername; + getpgid; + getpgrp; + getpid; + getppid; + getpriority; + getprogname; + getprotobyname; + getprotobynumber; + getpt; + getpwnam; + getpwnam_r; + getpwuid; + getpwuid_r; + getresgid; + getresuid; + getrlimit; + getrlimit64; + getrusage; + gets; + getservbyname; + getservbyport; + getservent; + getsid; + getsockname; + getsockopt; + gettid; + gettimeofday; + getuid; + getutent; + getwc; + getwchar; + getxattr; + gmtime; + gmtime64; # arm x86 mips + gmtime64_r; # arm x86 mips + gmtime_r; + grantpt; + herror; + hstrerror; + htonl; + htons; + if_indextoname; + if_nametoindex; + imaxabs; + imaxdiv; + inet_addr; + inet_aton; + inet_lnaof; + inet_makeaddr; + inet_netof; + inet_network; + inet_nsap_addr; + inet_nsap_ntoa; + inet_ntoa; + inet_ntop; + inet_pton; + init_module; + initgroups; + initstate; + inotify_add_watch; + inotify_init; + inotify_init1; + inotify_rm_watch; + insque; + ioctl; + isalnum; + isalnum_l; + isalpha; + isalpha_l; + isascii; + isatty; + isblank; + isblank_l; + iscntrl; + iscntrl_l; + isdigit; + isdigit_l; + isfinite; + isfinitef; + isfinitel; + isgraph; + isgraph_l; + isinf; + isinff; + isinfl; + islower; + islower_l; + isnan; + isnanf; + isnanl; + isnormal; + isnormalf; + isnormall; + isprint; + isprint_l; + ispunct; + ispunct_l; + isspace; + isspace_l; + isupper; + isupper_l; + iswalnum; + iswalnum_l; + iswalpha; + iswalpha_l; + iswblank; + iswblank_l; + iswcntrl; + iswcntrl_l; + iswctype; + iswctype_l; + iswdigit; + iswdigit_l; + iswgraph; + iswgraph_l; + iswlower; + iswlower_l; + iswprint; + iswprint_l; + iswpunct; + iswpunct_l; + iswspace; + iswspace_l; + iswupper; + iswupper_l; + iswxdigit; + iswxdigit_l; + isxdigit; + isxdigit_l; + jrand48; + kill; + killpg; + klogctl; + labs; + lchown; + lcong48; + ldexp; + ldiv; + lfind; + lgetxattr; + link; + linkat; + listen; + listxattr; + llabs; + lldiv; + llistxattr; + localeconv; + localtime; + localtime64; # arm x86 mips + localtime64_r; # arm x86 mips + localtime_r; + login_tty; + longjmp; + lrand48; + lremovexattr; + lsearch; + lseek; + lseek64; + lsetxattr; + lstat; + lstat64; + madvise; + mallinfo; + malloc; + malloc_info; + malloc_usable_size; + mbrlen; + mbrtoc16; + mbrtoc32; + mbrtowc; + mbsinit; + mbsnrtowcs; + mbsrtowcs; + mbstowcs; + mbtowc; + memalign; + memccpy; + memchr; + memcmp; + memcpy; + memmem; + memmove; + mempcpy; + memrchr; + memset; + mincore; + mkdir; + mkdirat; + mkdtemp; + mkfifo; + mkfifoat; + mknod; + mknodat; + mkostemp; + mkostemp64; + mkostemps; + mkostemps64; + mkstemp; + mkstemp64; + mkstemps; + mkstemps64; + mktemp; + mktime; + mktime64; # arm x86 mips + mktime_tz; + mlock; + mlockall; + mmap; + mmap64; + mount; + mprotect; + mrand48; + mremap; + msync; + munlock; + munlockall; + munmap; + nanosleep; + newlocale; + nftw; + nftw64; + nice; + nrand48; + nsdispatch; + ntohl; + ntohs; + open; + open64; + open_memstream; + open_wmemstream; + openat; + openat64; + opendir; + openlog; + openpty; + optarg; + opterr; + optind; + optopt; + optreset; + pathconf; + pause; + pclose; + perror; + personality; + pipe; + pipe2; + poll; + popen; + posix_fadvise; + posix_fadvise64; + posix_fallocate; + posix_fallocate64; + posix_madvise; + posix_memalign; + posix_openpt; + ppoll; + prctl; + pread; + pread64; + printf; + prlimit64; + process_vm_readv; + process_vm_writev; + pselect; + psiginfo; + psignal; + pthread_atfork; + pthread_attr_destroy; + pthread_attr_getdetachstate; + pthread_attr_getguardsize; + pthread_attr_getschedparam; + pthread_attr_getschedpolicy; + pthread_attr_getscope; + pthread_attr_getstack; + pthread_attr_getstacksize; + pthread_attr_init; + pthread_attr_setdetachstate; + pthread_attr_setguardsize; + pthread_attr_setschedparam; + pthread_attr_setschedpolicy; + pthread_attr_setscope; + pthread_attr_setstack; + pthread_attr_setstacksize; + pthread_cond_broadcast; + pthread_cond_destroy; + pthread_cond_init; + pthread_cond_signal; + pthread_cond_timedwait; + pthread_cond_timedwait_monotonic; # arm x86 mips + pthread_cond_timedwait_monotonic_np; # arm x86 mips + pthread_cond_timedwait_relative_np; # arm x86 mips + pthread_cond_timeout_np; # arm x86 mips + pthread_cond_wait; + pthread_condattr_destroy; + pthread_condattr_getclock; + pthread_condattr_getpshared; + pthread_condattr_init; + pthread_condattr_setclock; + pthread_condattr_setpshared; + pthread_create; + pthread_detach; + pthread_equal; + pthread_exit; + pthread_getattr_np; + pthread_getcpuclockid; + pthread_getschedparam; + pthread_getspecific; + pthread_gettid_np; + pthread_join; + pthread_key_create; + pthread_key_delete; + pthread_kill; + pthread_mutex_destroy; + pthread_mutex_init; + pthread_mutex_lock; + pthread_mutex_lock_timeout_np; # arm x86 mips + pthread_mutex_timedlock; + pthread_mutex_trylock; + pthread_mutex_unlock; + pthread_mutexattr_destroy; + pthread_mutexattr_getpshared; + pthread_mutexattr_gettype; + pthread_mutexattr_init; + pthread_mutexattr_setpshared; + pthread_mutexattr_settype; + pthread_once; + pthread_rwlock_destroy; + pthread_rwlock_init; + pthread_rwlock_rdlock; + pthread_rwlock_timedrdlock; + pthread_rwlock_timedwrlock; + pthread_rwlock_tryrdlock; + pthread_rwlock_trywrlock; + pthread_rwlock_unlock; + pthread_rwlock_wrlock; + pthread_rwlockattr_destroy; + pthread_rwlockattr_getkind_np; + pthread_rwlockattr_getpshared; + pthread_rwlockattr_init; + pthread_rwlockattr_setkind_np; + pthread_rwlockattr_setpshared; + pthread_self; + pthread_setname_np; + pthread_setschedparam; + pthread_setspecific; + pthread_sigmask; + ptrace; + ptsname; + ptsname_r; + putc; + putc_unlocked; + putchar; + putchar_unlocked; + putenv; + puts; + pututline; + putw; # arm x86 mips + putwc; + putwchar; + pvalloc; # arm x86 mips + pwrite; + pwrite64; + qsort; + quick_exit; + raise; + rand; + rand_r; + random; + read; + readahead; + readdir; + readdir64; + readdir64_r; + readdir_r; + readlink; + readlinkat; + readv; + realloc; + realpath; + reboot; + recv; + recvfrom; + recvmmsg; + recvmsg; + regcomp; + regerror; + regexec; + regfree; + remove; + removexattr; + remque; + rename; + renameat; + res_init; + res_mkquery; + res_query; + res_search; + restore_core_regs; # arm + rewind; + rewinddir; + rmdir; + sbrk; + scandir; + scandir64; + scanf; + sched_get_priority_max; + sched_get_priority_min; + sched_getaffinity; + sched_getcpu; + sched_getparam; + sched_getscheduler; + sched_rr_get_interval; + sched_setaffinity; + sched_setparam; + sched_setscheduler; + sched_yield; + seed48; + seekdir; + select; + sem_close; + sem_destroy; + sem_getvalue; + sem_init; + sem_open; + sem_post; + sem_timedwait; + sem_trywait; + sem_unlink; + sem_wait; + send; + sendfile; + sendfile64; + sendmmsg; + sendmsg; + sendto; + setbuf; + setbuffer; + setegid; + setenv; + seteuid; + setfsgid; + setfsuid; + setgid; + setgroups; + sethostname; + setitimer; + setjmp; + setlinebuf; + setlocale; + setlogmask; + setmntent; + setns; + setpgid; + setpgrp; + setpriority; + setprogname; + setregid; + setresgid; + setresuid; + setreuid; + setrlimit; + setrlimit64; + setservent; + setsid; + setsockopt; + setstate; + settimeofday; + setuid; + setutent; + setvbuf; + setxattr; + shutdown; + sigaction; + sigaddset; + sigaltstack; + sigblock; + sigdelset; + sigemptyset; + sigfillset; + siginterrupt; + sigismember; + siglongjmp; + signal; + signalfd; + sigpending; + sigprocmask; + sigqueue; + sigsetjmp; + sigsetmask; + sigsuspend; + sigtimedwait; + sigwait; + sigwaitinfo; + sleep; + snprintf; + socket; + socketpair; + splice; + sprintf; + srand; + srand48; + srandom; + sscanf; + stat; + stat64; + statfs; + statfs64; + statvfs; + statvfs64; + stderr; + stdin; + stdout; + stpcpy; + stpncpy; + strcasecmp; + strcasecmp_l; + strcasestr; + strcat; + strchr; + strcmp; + strcoll; + strcoll_l; + strcpy; + strcspn; + strdup; + strerror; + strerror_l; + strerror_r; + strftime; + strftime_l; + strlcat; + strlcpy; + strlen; + strncasecmp; + strncasecmp_l; + strncat; + strncmp; + strncpy; + strndup; + strnlen; + strpbrk; + strptime; + strrchr; + strsep; + strsignal; + strspn; + strstr; + strtod; + strtof; + strtoimax; + strtok; + strtok_r; + strtol; + strtold; + strtold_l; + strtoll; + strtoll_l; + strtoq; + strtoul; + strtoull; + strtoull_l; + strtoumax; + strtouq; + strxfrm; + strxfrm_l; + swapoff; + swapon; + swprintf; + swscanf; + symlink; + symlinkat; + sync; + sys_siglist; + sys_signame; + syscall; + sysconf; + sysinfo; + syslog; + system; + tcdrain; + tcflow; + tcflush; + tcgetattr; + tcgetpgrp; + tcgetsid; + tcsendbreak; + tcsetattr; + tcsetpgrp; + tdelete; + tdestroy; + tee; + telldir; + tempnam; + tfind; + tgkill; + time; + timegm; + timegm64; # arm x86 mips + timelocal; + timelocal64; # arm x86 mips + timer_create; + timer_delete; + timer_getoverrun; + timer_gettime; + timer_settime; + timerfd_create; + timerfd_gettime; + timerfd_settime; + times; + timezone; + tmpfile; + tmpnam; + toascii; + tolower; + tolower_l; + toupper; + toupper_l; + towlower; + towlower_l; + towupper; + towupper_l; + truncate; + truncate64; + tsearch; + ttyname; + ttyname_r; + twalk; + tzname; + tzset; + umask; + umount; + umount2; + uname; + ungetc; + ungetwc; + unlink; + unlinkat; + unlockpt; + unsetenv; + unshare; + uselocale; + usleep; + utime; + utimensat; + utimes; + utmpname; + valloc; # arm x86 mips + vasprintf; + vdprintf; + verr; + verrx; + vfork; + vfprintf; + vfscanf; + vfwprintf; + vfwscanf; + vmsplice; + vprintf; + vscanf; + vsnprintf; + vsprintf; + vsscanf; + vswprintf; + vswscanf; + vsyslog; + vwarn; + vwarnx; + vwprintf; + vwscanf; + wait; + wait4; + waitid; + waitpid; + warn; + warnx; + wcpcpy; + wcpncpy; + wcrtomb; + wcscasecmp; + wcscasecmp_l; + wcscat; + wcschr; + wcscmp; + wcscoll; + wcscoll_l; + wcscpy; + wcscspn; + wcsdup; + wcsftime; + wcslcat; + wcslcpy; + wcslen; + wcsncasecmp; + wcsncasecmp_l; + wcsncat; + wcsncmp; + wcsncpy; + wcsnlen; + wcsnrtombs; + wcspbrk; + wcsrchr; + wcsrtombs; + wcsspn; + wcsstr; + wcstod; + wcstof; + wcstoimax; + wcstok; + wcstol; + wcstold; + wcstold_l; + wcstoll; + wcstoll_l; + wcstombs; + wcstoul; + wcstoull; + wcstoull_l; + wcstoumax; + wcswidth; + wcsxfrm; + wcsxfrm_l; + wctob; + wctomb; + wctype; + wctype_l; + wcwidth; + wmemchr; + wmemcmp; + wmemcpy; + wmemmove; + wmempcpy; + wmemset; + wprintf; + write; + writev; + wscanf; + local: + *; +}; + +LIBC_N { + global: + __fread_chk; + __fwrite_chk; + __getcwd_chk; + __pwrite_chk; + __pwrite64_chk; + __write_chk; + fileno_unlocked; + getgrgid_r; + getgrnam_r; + preadv; + preadv64; + prlimit; # arm mips x86 + pthread_barrierattr_destroy; + pthread_barrierattr_getpshared; + pthread_barrierattr_init; + pthread_barrierattr_setpshared; + pthread_barrier_destroy; + pthread_barrier_init; + pthread_barrier_wait; + pthread_spin_destroy; + pthread_spin_init; + pthread_spin_lock; + pthread_spin_trylock; + pthread_spin_unlock; + pwritev; + pwritev64; + scandirat; + scandirat64; + strchrnul; +} LIBC; + +LIBC_PRIVATE { + global: + ___Unwind_Backtrace; # arm + ___Unwind_ForcedUnwind; # arm + ___Unwind_RaiseException; # arm + ___Unwind_Resume; # arm + ___Unwind_Resume_or_Rethrow; # arm + __accept4; # arm x86 mips + __adddf3; # arm + __addsf3; # arm + __aeabi_atexit; # arm + __aeabi_cdcmpeq; # arm + __aeabi_cdcmple; # arm + __aeabi_cdrcmple; # arm + __aeabi_d2f; # arm + __aeabi_d2iz; # arm + __aeabi_dadd; # arm + __aeabi_dcmpeq; # arm + __aeabi_dcmpge; # arm + __aeabi_dcmpgt; # arm + __aeabi_dcmple; # arm + __aeabi_dcmplt; # arm + __aeabi_dcmpun; # arm + __aeabi_ddiv; # arm + __aeabi_dmul; # arm + __aeabi_drsub; # arm + __aeabi_dsub; # arm + __aeabi_f2d; # arm + __aeabi_f2iz; # arm + __aeabi_f2uiz; # arm + __aeabi_fadd; # arm + __aeabi_fcmpun; # arm + __aeabi_fdiv; # arm + __aeabi_fmul; # arm + __aeabi_frsub; # arm + __aeabi_fsub; # arm + __aeabi_i2d; # arm + __aeabi_i2f; # arm + __aeabi_idiv; # arm + __aeabi_idiv0; # arm + __aeabi_idivmod; # arm + __aeabi_l2d; # arm + __aeabi_l2f; # arm + __aeabi_lasr; # arm + __aeabi_ldiv0; # arm + __aeabi_ldivmod; # arm + __aeabi_llsl; # arm + __aeabi_llsr; # arm + __aeabi_lmul; # arm + __aeabi_memclr; # arm + __aeabi_memclr4; # arm + __aeabi_memclr8; # arm + __aeabi_memcpy; # arm + __aeabi_memcpy4; # arm + __aeabi_memcpy8; # arm + __aeabi_memmove; # arm + __aeabi_memmove4; # arm + __aeabi_memmove8; # arm + __aeabi_memset; # arm + __aeabi_memset4; # arm + __aeabi_memset8; # arm + __aeabi_ui2d; # arm + __aeabi_ui2f; # arm + __aeabi_uidiv; # arm + __aeabi_uidivmod; # arm + __aeabi_ul2d; # arm + __aeabi_ul2f; # arm + __aeabi_uldivmod; # arm + __aeabi_unwind_cpp_pr0; # arm + __aeabi_unwind_cpp_pr1; # arm + __aeabi_unwind_cpp_pr2; # arm + __arm_fadvise64_64; # arm + __ashldi3; # arm + __ashrdi3; # arm + __bionic_brk; # arm x86 mips + __bionic_libgcc_compat_symbols; # arm x86 + __dso_handle; # arm + __gnu_Unwind_Backtrace; # arm + __gnu_unwind_execute; # arm + __gnu_Unwind_Find_exidx; # arm + __gnu_Unwind_ForcedUnwind; # arm + __gnu_unwind_frame; # arm + __gnu_Unwind_RaiseException; # arm + __gnu_Unwind_Restore_VFP; # arm + __gnu_Unwind_Restore_VFP_D; # arm + __gnu_Unwind_Restore_VFP_D_16_to_31; # arm + __gnu_Unwind_Restore_WMMXC; # arm + __gnu_Unwind_Restore_WMMXD; # arm + __gnu_Unwind_Resume; # arm + __gnu_Unwind_Resume_or_Rethrow; # arm + __gnu_Unwind_Save_VFP; # arm + __gnu_Unwind_Save_VFP_D; # arm + __gnu_Unwind_Save_VFP_D_16_to_31; # arm + __gnu_Unwind_Save_WMMXC; # arm + __gnu_Unwind_Save_WMMXD; # arm + _Unwind_Backtrace; # arm + _Unwind_Complete; # arm + _Unwind_DeleteException; # arm + _Unwind_ForcedUnwind; # arm + _Unwind_GetCFA; # arm + _Unwind_GetDataRelBase; # arm + _Unwind_GetLanguageSpecificData; # arm + _Unwind_GetRegionStart; # arm + _Unwind_GetTextRelBase; # arm + _Unwind_RaiseException; # arm + _Unwind_Resume; # arm + _Unwind_Resume_or_Rethrow; # arm + _Unwind_VRS_Get; # arm + _Unwind_VRS_Pop; # arm + _Unwind_VRS_Set; # arm + atexit; # arm + gMallocLeakZygoteChild; + SHA1Final; # arm x86 mips + SHA1Init; # arm x86 mips + SHA1Transform; # arm x86 mips + SHA1Update; # arm x86 mips +} LIBC_N; diff --git a/libc/libc.arm.map b/libc/libc.arm.map index d7a917686..d6f54078c 100644 --- a/libc/libc.arm.map +++ b/libc/libc.arm.map @@ -58,13 +58,13 @@ LIBC { __freadable; __fsetlocking; __fstatfs64; # arm x86 mips - __futex_wait; # arm x86 mips - __futex_wake; # arm x86 mips + __futex_wait; # arm x86 mips nobrillo + __futex_wake; # arm x86 mips nobrillo __fwritable; __gedf2; # arm __get_h_errno; - __get_thread; # arm x86 mips - __get_tls; # arm x86 mips + __get_thread; # arm x86 mips nobrillo + __get_tls; # arm x86 mips nobrillo __getcpu; # arm x86 mips __getcwd; # arm x86 mips __getdents64; # arm x86 mips @@ -131,7 +131,7 @@ LIBC { __ns_skiprr; # arm x86 mips __ns_sprintrr; # arm x86 mips __ns_sprintrrf; # arm x86 mips - __open; # arm x86 mips + __open; # arm x86 mips nobrillo __open_2; __openat; # arm x86 mips __openat_2; @@ -148,8 +148,8 @@ LIBC { __p_time; __p_type; __p_type_syms; - __page_shift; # arm x86 mips - __page_size; # arm x86 mips + __page_shift; # arm x86 mips nobrillo + __page_size; # arm x86 mips nobrillo __poll_chk; __popcount_tab; # arm __popcountsi2; # arm x86 mips @@ -161,7 +161,7 @@ LIBC { __pselect6; # arm x86 mips __pthread_cleanup_pop; __pthread_cleanup_push; - __pthread_gettid; # arm x86 mips + __pthread_gettid; # arm x86 mips nobrillo __ptrace; # arm x86 mips __putlong; __putshort; @@ -202,8 +202,8 @@ LIBC { __sched_cpufree; __sched_getaffinity; # arm x86 mips __sclose; # arm x86 mips - __sdidinit; # arm x86 mips - __set_errno; # arm x86 mips + __sdidinit; # arm x86 mips nobrillo + __set_errno; # arm x86 mips nobrillo __set_tid_address; # arm x86 mips __set_tls; # arm mips __sF; @@ -213,7 +213,7 @@ LIBC { __sglue; # arm x86 mips __sigaction; # arm x86 mips __signalfd4; # arm x86 mips - __sinit; # arm x86 mips + __sinit; # arm x86 mips nobrillo __smakebuf; # arm x86 mips __snprintf_chk; __socket; # arm x86 mips @@ -274,7 +274,7 @@ LIBC { __unordsf2; # arm __vsnprintf_chk; __vsprintf_chk; - __wait4; # arm x86 mips + __wait4; # arm x86 mips nobrillo __waitid; # arm x86 mips _ctype_; _Exit; @@ -307,9 +307,9 @@ LIBC { android_gethostbynamefornet; android_set_abort_message; arc4random; - arc4random_addrandom; # arm x86 mips + arc4random_addrandom; # arm x86 mips nobrillo arc4random_buf; - arc4random_stir; # arm x86 mips + arc4random_stir; # arm x86 mips nobrillo arc4random_uniform; asctime; asctime64; # arm x86 mips @@ -323,11 +323,11 @@ LIBC { atoll; basename; basename_r; # arm x86 mips - bcopy; # arm x86 mips + bcopy; # arm x86 mips nobrillo bind; bindresvport; brk; - bsd_signal; # arm x86 mips + bsd_signal; # arm x86 mips nobrillo bsearch; btowc; bzero; # arm x86 mips @@ -383,7 +383,7 @@ LIBC { dup3; duplocale; endmntent; - endpwent; + endpwent; # arm arm64 x86 x86_64 mips mips64 nobrillo endservent; endutent; environ; @@ -430,7 +430,7 @@ LIBC { fdatasync; fdopen; fdopendir; - fdprintf; # arm x86 mips + fdprintf; # arm x86 mips nobrillo feof; feof_unlocked; ferror; @@ -483,7 +483,7 @@ LIBC { fsync; ftell; ftello; - ftime; # arm x86 mips + ftime; # arm x86 mips nobrillo ftok; ftruncate; ftruncate64; @@ -516,8 +516,8 @@ LIBC { getchar_unlocked; getcwd; getdelim; - getdents; # arm x86 mips - getdtablesize; # arm x86 mips + getdents; # arm x86 mips nobrillo + getdtablesize; # arm x86 mips nobrillo getegid; getenv; geteuid; @@ -592,7 +592,7 @@ LIBC { if_nametoindex; imaxabs; imaxdiv; - index; # arm x86 mips + index; # arm x86 mips nobrillo inet_addr; inet_aton; inet_lnaof; @@ -645,7 +645,7 @@ LIBC { isprint_l; ispunct; ispunct_l; - issetugid; # arm x86 mips + issetugid; # arm x86 mips nobrillo isspace; isspace_l; isupper; @@ -735,7 +735,7 @@ LIBC { mempcpy; memrchr; memset; - memswap; # arm x86 mips + memswap; # arm x86 mips nobrillo mincore; mkdir; mkdirat; @@ -826,7 +826,7 @@ LIBC { pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_getstack; - pthread_attr_getstackaddr; # arm x86 mips + pthread_attr_getstackaddr; # arm x86 mips nobrillo pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate; @@ -835,7 +835,7 @@ LIBC { pthread_attr_setschedpolicy; pthread_attr_setscope; pthread_attr_setstack; - pthread_attr_setstackaddr; # arm x86 mips + pthread_attr_setstackaddr; # arm x86 mips nobrillo pthread_attr_setstacksize; pthread_cond_broadcast; pthread_cond_destroy; @@ -1094,8 +1094,8 @@ LIBC { strncpy; strndup; strnlen; - strntoimax; # arm x86 mips - strntoumax; # arm x86 mips + strntoimax; # arm x86 mips nobrillo + strntoumax; # arm x86 mips nobrillo strpbrk; strptime; strrchr; @@ -1114,7 +1114,7 @@ LIBC { strtoll; strtoll_l; strtoq; - strtotimeval; # arm x86 mips + strtotimeval; # arm x86 mips nobrillo strtoul; strtoull; strtoull_l; @@ -1136,7 +1136,7 @@ LIBC { sysinfo; syslog; system; - sysv_signal; # arm x86 mips + sysv_signal; # arm x86 mips nobrillo tcdrain; tcflow; tcflush; @@ -1168,7 +1168,7 @@ LIBC { timerfd_settime; times; timezone; - tkill; # arm x86 mips + tkill; # arm x86 mips nobrillo tmpfile; tmpnam; toascii; @@ -1210,7 +1210,7 @@ LIBC { vdprintf; verr; verrx; - vfdprintf; # arm x86 mips + vfdprintf; # arm x86 mips nobrillo vfork; vfprintf; vfscanf; @@ -1230,7 +1230,7 @@ LIBC { vwprintf; vwscanf; wait; - wait3; # arm x86 mips + wait3; # arm x86 mips nobrillo wait4; waitid; waitpid; @@ -1279,7 +1279,7 @@ LIBC { wcstoull; wcstoull_l; wcstoumax; - wcswcs; # arm x86 mips + wcswcs; # arm x86 mips nobrillo wcswidth; wcsxfrm; wcsxfrm_l; @@ -1446,10 +1446,10 @@ LIBC_PRIVATE { _Unwind_VRS_Pop; # arm _Unwind_VRS_Set; # arm atexit; # arm - dlmalloc; # arm x86 mips - dlmalloc_inspect_all; - dlmalloc_trim; - dlmalloc_usable_size; # arm x86 mips + dlmalloc; # arm x86 mips nobrillo + dlmalloc_inspect_all; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_trim; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_usable_size; # arm x86 mips nobrillo gMallocLeakZygoteChild; SHA1Final; # arm x86 mips SHA1Init; # arm x86 mips diff --git a/libc/libc.arm64.brillo.map b/libc/libc.arm64.brillo.map new file mode 100644 index 000000000..8fa46a84c --- /dev/null +++ b/libc/libc.arm64.brillo.map @@ -0,0 +1,1185 @@ +# Generated by genversionscripts.py. Do not edit. +LIBC { + global: + __assert; + __assert2; + __b64_ntop; + __b64_pton; + __cmsg_nxthdr; + __ctype_get_mb_cur_max; + __cxa_atexit; + __cxa_finalize; + __cxa_thread_atexit_impl; + __dn_comp; + __dn_count_labels; + __dn_skipname; + __errno; + __fbufsize; + __FD_CLR_chk; + __FD_ISSET_chk; + __FD_SET_chk; + __fgets_chk; + __flbf; + __fp_nquery; + __fp_query; + __fpclassify; + __fpclassifyd; + __fpclassifyf; + __fpclassifyl; + __fpending; + __fpurge; + __freadable; + __fsetlocking; + __fwritable; + __get_h_errno; + __gnu_basename; + __gnu_strerror_r; + __hostalias; + __isfinite; + __isfinitef; + __isfinitel; + __isinf; + __isinff; + __isinfl; + __isnan; + __isnanf; + __isnanl; + __isnormal; + __isnormalf; + __isnormall; + __isthreaded; + __libc_current_sigrtmax; + __libc_current_sigrtmin; + __libc_init; + __loc_aton; + __loc_ntoa; + __memchr_chk; + __memcpy_chk; + __memmove_chk; + __memrchr_chk; + __memset_chk; + __open_2; + __openat_2; + __p_cdname; + __p_cdnname; + __p_class; + __p_class_syms; + __p_fqname; + __p_fqnname; + __p_option; + __p_query; + __p_rcode; + __p_secstodate; + __p_time; + __p_type; + __p_type_syms; + __poll_chk; + __ppoll_chk; + __pread64_chk; + __pread_chk; + __progname; + __pthread_cleanup_pop; + __pthread_cleanup_push; + __putlong; + __putshort; + __read_chk; + __readlink_chk; + __readlinkat_chk; + __recvfrom_chk; + __register_atfork; + __res_close; + __res_dnok; + __res_hnok; + __res_hostalias; + __res_isourserver; + __res_mailok; + __res_nameinquery; + __res_nclose; + __res_ninit; + __res_nmkquery; + __res_nquery; + __res_nquerydomain; + __res_nsearch; + __res_nsend; + __res_ownok; + __res_queriesmatch; + __res_querydomain; + __res_send; + __res_send_setqhook; + __res_send_setrhook; + __sched_cpualloc; + __sched_cpucount; + __sched_cpufree; + __sF; + __snprintf_chk; + __sprintf_chk; + __stack_chk_fail; + __stack_chk_guard; + __stpcpy_chk; + __stpncpy_chk; + __stpncpy_chk2; + __strcat_chk; + __strchr_chk; + __strcpy_chk; + __strlcat_chk; + __strlcpy_chk; + __strlen_chk; + __strncat_chk; + __strncpy_chk; + __strncpy_chk2; + __strrchr_chk; + __sym_ntop; + __sym_ntos; + __sym_ston; + __system_properties_init; + __system_property_add; + __system_property_area__; + __system_property_area_init; + __system_property_area_serial; + __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; + __umask_chk; + __vsnprintf_chk; + __vsprintf_chk; + _ctype_; + _Exit; + _exit; + _flushlbf; + _getlong; + _getshort; + _longjmp; + _resolv_delete_cache_for_net; + _resolv_flush_cache_for_net; + _resolv_set_nameservers_for_net; + _setjmp; + _tolower; + _toupper; + abort; + abs; + accept; + accept4; + access; + acct; + alarm; + alphasort; + alphasort64; + android_getaddrinfofornet; + android_getaddrinfofornetcontext; + android_gethostbyaddrfornet; + android_gethostbynamefornet; + android_set_abort_message; + arc4random; + arc4random_buf; + arc4random_uniform; + asctime; + asctime_r; + asprintf; + at_quick_exit; + atof; + atoi; + atol; + atoll; + basename; + bind; + bindresvport; + brk; + bsearch; + btowc; + c16rtomb; + c32rtomb; + calloc; + capget; + capset; + cfgetispeed; + cfgetospeed; + cfmakeraw; + cfsetispeed; + cfsetospeed; + cfsetspeed; + chdir; + chmod; + chown; + chroot; + clearenv; + clearerr; + clearerr_unlocked; + clock; + clock_getcpuclockid; + clock_getres; + clock_gettime; + clock_nanosleep; + clock_settime; + clone; + close; + closedir; + closelog; + connect; + creat; + creat64; + ctime; + ctime_r; + daemon; + daylight; + delete_module; + difftime; + dirfd; + dirname; + div; + dn_expand; + dprintf; + drand48; + dup; + dup2; + dup3; + duplocale; + endmntent; + endservent; + endutent; + environ; + epoll_create; + epoll_create1; + epoll_ctl; + epoll_pwait; + epoll_wait; + erand48; + err; + error; + error_at_line; + error_message_count; + error_one_per_line; + error_print_progname; + errx; + ether_aton; + ether_aton_r; + ether_ntoa; + ether_ntoa_r; + eventfd; + eventfd_read; + eventfd_write; + execl; + execle; + execlp; + execv; + execve; + execvp; + execvpe; + exit; + faccessat; + fallocate; + fallocate64; + fchdir; + fchmod; + fchmodat; + fchown; + fchownat; + fclose; + fcntl; + fdatasync; + fdopen; + fdopendir; + feof; + feof_unlocked; + ferror; + ferror_unlocked; + fflush; + ffs; + fgetc; + fgetln; + fgetpos; + fgets; + fgetwc; + fgetws; + fgetxattr; + fileno; + flistxattr; + flock; + flockfile; + fmemopen; + fnmatch; + fopen; + fork; + forkpty; + fpathconf; + fprintf; + fpurge; + fputc; + fputs; + fputwc; + fputws; + fread; + free; + free_malloc_leak_info; + freeaddrinfo; + freelocale; + fremovexattr; + freopen; + fscanf; + fseek; + fseeko; + fsetpos; + fsetxattr; + fstat; + fstat64; + fstatat; + fstatat64; + fstatfs; + fstatfs64; + fstatvfs; + fstatvfs64; + fsync; + ftell; + ftello; + ftok; + ftruncate; + ftruncate64; + ftrylockfile; + fts_children; + fts_close; + fts_open; + fts_read; + fts_set; + ftw; + ftw64; + funlockfile; + funopen; + futimens; + fwide; + fwprintf; + fwrite; + fwscanf; + gai_strerror; + get_avphys_pages; + get_malloc_leak_info; + get_nprocs; + get_nprocs_conf; + get_phys_pages; + getaddrinfo; + getauxval; + getc; + getc_unlocked; + getchar; + getchar_unlocked; + getcwd; + getdelim; + getegid; + getenv; + geteuid; + getgid; + getgrgid; + getgrnam; + getgrouplist; + getgroups; + gethostbyaddr; + gethostbyaddr_r; + gethostbyname; + gethostbyname2; + gethostbyname2_r; + gethostbyname_r; + gethostent; + gethostname; + getitimer; + getline; + getlogin; + getmntent; + getmntent_r; + getnameinfo; + getnetbyaddr; + getnetbyname; + getopt; + getopt_long; + getopt_long_only; + getpagesize; + getpeername; + getpgid; + getpgrp; + getpid; + getppid; + getpriority; + getprogname; + getprotobyname; + getprotobynumber; + getpt; + getpwnam; + getpwnam_r; + getpwuid; + getpwuid_r; + getresgid; + getresuid; + getrlimit; + getrlimit64; + getrusage; + gets; + getservbyname; + getservbyport; + getservent; + getsid; + getsockname; + getsockopt; + gettid; + gettimeofday; + getuid; + getutent; + getwc; + getwchar; + getxattr; + gmtime; + gmtime_r; + grantpt; + herror; + hstrerror; + htonl; + htons; + if_indextoname; + if_nametoindex; + imaxabs; + imaxdiv; + inet_addr; + inet_aton; + inet_lnaof; + inet_makeaddr; + inet_netof; + inet_network; + inet_nsap_addr; + inet_nsap_ntoa; + inet_ntoa; + inet_ntop; + inet_pton; + init_module; + initgroups; + initstate; + inotify_add_watch; + inotify_init; + inotify_init1; + inotify_rm_watch; + insque; + ioctl; + isalnum; + isalnum_l; + isalpha; + isalpha_l; + isascii; + isatty; + isblank; + isblank_l; + iscntrl; + iscntrl_l; + isdigit; + isdigit_l; + isfinite; + isfinitef; + isfinitel; + isgraph; + isgraph_l; + isinf; + isinff; + isinfl; + islower; + islower_l; + isnan; + isnanf; + isnanl; + isnormal; + isnormalf; + isnormall; + isprint; + isprint_l; + ispunct; + ispunct_l; + isspace; + isspace_l; + isupper; + isupper_l; + iswalnum; + iswalnum_l; + iswalpha; + iswalpha_l; + iswblank; + iswblank_l; + iswcntrl; + iswcntrl_l; + iswctype; + iswctype_l; + iswdigit; + iswdigit_l; + iswgraph; + iswgraph_l; + iswlower; + iswlower_l; + iswprint; + iswprint_l; + iswpunct; + iswpunct_l; + iswspace; + iswspace_l; + iswupper; + iswupper_l; + iswxdigit; + iswxdigit_l; + isxdigit; + isxdigit_l; + jrand48; + kill; + killpg; + klogctl; + labs; + lchown; + lcong48; + ldexp; + ldiv; + lfind; + lgetxattr; + link; + linkat; + listen; + listxattr; + llabs; + lldiv; + llistxattr; + localeconv; + localtime; + localtime_r; + login_tty; + longjmp; + lrand48; + lremovexattr; + lsearch; + lseek; + lseek64; + lsetxattr; + lstat; + lstat64; + madvise; + mallinfo; + malloc; + malloc_info; + malloc_usable_size; + mbrlen; + mbrtoc16; + mbrtoc32; + mbrtowc; + mbsinit; + mbsnrtowcs; + mbsrtowcs; + mbstowcs; + mbtowc; + memalign; + memccpy; + memchr; + memcmp; + memcpy; + memmem; + memmove; + mempcpy; + memrchr; + memset; + mincore; + mkdir; + mkdirat; + mkdtemp; + mkfifo; + mkfifoat; + mknod; + mknodat; + mkostemp; + mkostemp64; + mkostemps; + mkostemps64; + mkstemp; + mkstemp64; + mkstemps; + mkstemps64; + mktemp; + mktime; + mktime_tz; + mlock; + mlockall; + mmap; + mmap64; + mount; + mprotect; + mrand48; + mremap; + msync; + munlock; + munlockall; + munmap; + nanosleep; + newlocale; + nftw; + nftw64; + nice; + nrand48; + ns_format_ttl; # arm64 x86_64 mips64 + ns_get16; # arm64 x86_64 mips64 + ns_get32; # arm64 x86_64 mips64 + ns_initparse; # arm64 x86_64 mips64 + ns_makecanon; # arm64 x86_64 mips64 + ns_msg_getflag; # arm64 x86_64 mips64 + ns_name_compress; # arm64 x86_64 mips64 + ns_name_ntol; # arm64 x86_64 mips64 + ns_name_ntop; # arm64 x86_64 mips64 + ns_name_pack; # arm64 x86_64 mips64 + ns_name_pton; # arm64 x86_64 mips64 + ns_name_rollback; # arm64 x86_64 mips64 + ns_name_skip; # arm64 x86_64 mips64 + ns_name_uncompress; # arm64 x86_64 mips64 + ns_name_unpack; # arm64 x86_64 mips64 + ns_parserr; # arm64 x86_64 mips64 + ns_put16; # arm64 x86_64 mips64 + ns_put32; # arm64 x86_64 mips64 + ns_samename; # arm64 x86_64 mips64 + ns_skiprr; # arm64 x86_64 mips64 + ns_sprintrr; # arm64 x86_64 mips64 + ns_sprintrrf; # arm64 x86_64 mips64 + nsdispatch; + ntohl; + ntohs; + open; + open64; + open_memstream; + open_wmemstream; + openat; + openat64; + opendir; + openlog; + openpty; + optarg; + opterr; + optind; + optopt; + optreset; + pathconf; + pause; + pclose; + perror; + personality; + pipe; + pipe2; + poll; + popen; + posix_fadvise; + posix_fadvise64; + posix_fallocate; + posix_fallocate64; + posix_madvise; + posix_memalign; + posix_openpt; + ppoll; + prctl; + pread; + pread64; + printf; + prlimit; # arm64 x86_64 mips64 + prlimit64; + process_vm_readv; + process_vm_writev; + pselect; + psiginfo; + psignal; + pthread_atfork; + pthread_attr_destroy; + pthread_attr_getdetachstate; + pthread_attr_getguardsize; + pthread_attr_getschedparam; + pthread_attr_getschedpolicy; + pthread_attr_getscope; + pthread_attr_getstack; + pthread_attr_getstacksize; + pthread_attr_init; + pthread_attr_setdetachstate; + pthread_attr_setguardsize; + pthread_attr_setschedparam; + pthread_attr_setschedpolicy; + pthread_attr_setscope; + pthread_attr_setstack; + pthread_attr_setstacksize; + pthread_cond_broadcast; + pthread_cond_destroy; + pthread_cond_init; + pthread_cond_signal; + pthread_cond_timedwait; + pthread_cond_wait; + pthread_condattr_destroy; + pthread_condattr_getclock; + pthread_condattr_getpshared; + pthread_condattr_init; + pthread_condattr_setclock; + pthread_condattr_setpshared; + pthread_create; + pthread_detach; + pthread_equal; + pthread_exit; + pthread_getattr_np; + pthread_getcpuclockid; + pthread_getschedparam; + pthread_getspecific; + pthread_gettid_np; + pthread_join; + pthread_key_create; + pthread_key_delete; + pthread_kill; + pthread_mutex_destroy; + pthread_mutex_init; + pthread_mutex_lock; + pthread_mutex_timedlock; + pthread_mutex_trylock; + pthread_mutex_unlock; + pthread_mutexattr_destroy; + pthread_mutexattr_getpshared; + pthread_mutexattr_gettype; + pthread_mutexattr_init; + pthread_mutexattr_setpshared; + pthread_mutexattr_settype; + pthread_once; + pthread_rwlock_destroy; + pthread_rwlock_init; + pthread_rwlock_rdlock; + pthread_rwlock_timedrdlock; + pthread_rwlock_timedwrlock; + pthread_rwlock_tryrdlock; + pthread_rwlock_trywrlock; + pthread_rwlock_unlock; + pthread_rwlock_wrlock; + pthread_rwlockattr_destroy; + pthread_rwlockattr_getkind_np; + pthread_rwlockattr_getpshared; + pthread_rwlockattr_init; + pthread_rwlockattr_setkind_np; + pthread_rwlockattr_setpshared; + pthread_self; + pthread_setname_np; + pthread_setschedparam; + pthread_setspecific; + pthread_sigmask; + ptrace; + ptsname; + ptsname_r; + putc; + putc_unlocked; + putchar; + putchar_unlocked; + putenv; + puts; + pututline; + putwc; + putwchar; + pwrite; + pwrite64; + qsort; + quick_exit; + raise; + rand; + rand_r; + random; + read; + readahead; + readdir; + readdir64; + readdir64_r; + readdir_r; + readlink; + readlinkat; + readv; + realloc; + realpath; + reboot; + recv; + recvfrom; + recvmmsg; + recvmsg; + regcomp; + regerror; + regexec; + regfree; + remove; + removexattr; + remque; + rename; + renameat; + res_init; + res_mkquery; + res_query; + res_search; + rewind; + rewinddir; + rmdir; + sbrk; + scandir; + scandir64; + scanf; + sched_get_priority_max; + sched_get_priority_min; + sched_getaffinity; + sched_getcpu; + sched_getparam; + sched_getscheduler; + sched_rr_get_interval; + sched_setaffinity; + sched_setparam; + sched_setscheduler; + sched_yield; + seed48; + seekdir; + select; + sem_close; + sem_destroy; + sem_getvalue; + sem_init; + sem_open; + sem_post; + sem_timedwait; + sem_trywait; + sem_unlink; + sem_wait; + send; + sendfile; + sendfile64; + sendmmsg; + sendmsg; + sendto; + setbuf; + setbuffer; + setegid; + setenv; + seteuid; + setfsgid; + setfsuid; + setgid; + setgroups; + sethostname; + setitimer; + setjmp; + setlinebuf; + setlocale; + setlogmask; + setmntent; + setns; + setpgid; + setpgrp; + setpriority; + setprogname; + setregid; + setresgid; + setresuid; + setreuid; + setrlimit; + setrlimit64; + setservent; + setsid; + setsockopt; + setstate; + settimeofday; + setuid; + setutent; + setvbuf; + setxattr; + shutdown; + sigaction; + sigaddset; + sigaltstack; + sigblock; + sigdelset; + sigemptyset; + sigfillset; + siginterrupt; + sigismember; + siglongjmp; + signal; + signalfd; + sigpending; + sigprocmask; + sigqueue; + sigsetjmp; + sigsetmask; + sigsuspend; + sigtimedwait; + sigwait; + sigwaitinfo; + sleep; + snprintf; + socket; + socketpair; + splice; + sprintf; + srand; + srand48; + srandom; + sscanf; + stat; + stat64; + statfs; + statfs64; + statvfs; + statvfs64; + stderr; + stdin; + stdout; + stpcpy; + stpncpy; + strcasecmp; + strcasecmp_l; + strcasestr; + strcat; + strchr; + strcmp; + strcoll; + strcoll_l; + strcpy; + strcspn; + strdup; + strerror; + strerror_l; + strerror_r; + strftime; + strftime_l; + strlcat; + strlcpy; + strlen; + strncasecmp; + strncasecmp_l; + strncat; + strncmp; + strncpy; + strndup; + strnlen; + strpbrk; + strptime; + strrchr; + strsep; + strsignal; + strspn; + strstr; + strtod; + strtof; + strtoimax; + strtok; + strtok_r; + strtol; + strtold; + strtold_l; + strtoll; + strtoll_l; + strtoq; + strtoul; + strtoull; + strtoull_l; + strtoumax; + strtouq; + strxfrm; + strxfrm_l; + swapoff; + swapon; + swprintf; + swscanf; + symlink; + symlinkat; + sync; + sys_siglist; + sys_signame; + syscall; + sysconf; + sysinfo; + syslog; + system; + tcdrain; + tcflow; + tcflush; + tcgetattr; + tcgetpgrp; + tcgetsid; + tcsendbreak; + tcsetattr; + tcsetpgrp; + tdelete; + tdestroy; + tee; + telldir; + tempnam; + tfind; + tgkill; + time; + timegm; + timelocal; + timer_create; + timer_delete; + timer_getoverrun; + timer_gettime; + timer_settime; + timerfd_create; + timerfd_gettime; + timerfd_settime; + times; + timezone; + tmpfile; + tmpnam; + toascii; + tolower; + tolower_l; + toupper; + toupper_l; + towlower; + towlower_l; + towupper; + towupper_l; + truncate; + truncate64; + tsearch; + ttyname; + ttyname_r; + twalk; + tzname; + tzset; + umask; + umount; + umount2; + uname; + ungetc; + ungetwc; + unlink; + unlinkat; + unlockpt; + unsetenv; + unshare; + uselocale; + usleep; + utime; + utimensat; + utimes; + utmpname; + vasprintf; + vdprintf; + verr; + verrx; + vfork; + vfprintf; + vfscanf; + vfwprintf; + vfwscanf; + vmsplice; + vprintf; + vscanf; + vsnprintf; + vsprintf; + vsscanf; + vswprintf; + vswscanf; + vsyslog; + vwarn; + vwarnx; + vwprintf; + vwscanf; + wait; + wait4; + waitid; + waitpid; + warn; + warnx; + wcpcpy; + wcpncpy; + wcrtomb; + wcscasecmp; + wcscasecmp_l; + wcscat; + wcschr; + wcscmp; + wcscoll; + wcscoll_l; + wcscpy; + wcscspn; + wcsdup; + wcsftime; + wcslcat; + wcslcpy; + wcslen; + wcsncasecmp; + wcsncasecmp_l; + wcsncat; + wcsncmp; + wcsncpy; + wcsnlen; + wcsnrtombs; + wcspbrk; + wcsrchr; + wcsrtombs; + wcsspn; + wcsstr; + wcstod; + wcstof; + wcstoimax; + wcstok; + wcstol; + wcstold; + wcstold_l; + wcstoll; + wcstoll_l; + wcstombs; + wcstoul; + wcstoull; + wcstoull_l; + wcstoumax; + wcswidth; + wcsxfrm; + wcsxfrm_l; + wctob; + wctomb; + wctype; + wctype_l; + wcwidth; + wmemchr; + wmemcmp; + wmemcpy; + wmemmove; + wmempcpy; + wmemset; + wprintf; + write; + writev; + wscanf; + local: + *; +}; + +LIBC_N { + global: + __fread_chk; + __fwrite_chk; + __getcwd_chk; + __pwrite_chk; + __pwrite64_chk; + __write_chk; + fileno_unlocked; + getgrgid_r; + getgrnam_r; + preadv; + preadv64; + pthread_barrierattr_destroy; + pthread_barrierattr_getpshared; + pthread_barrierattr_init; + pthread_barrierattr_setpshared; + pthread_barrier_destroy; + pthread_barrier_init; + pthread_barrier_wait; + pthread_spin_destroy; + pthread_spin_init; + pthread_spin_lock; + pthread_spin_trylock; + pthread_spin_unlock; + pwritev; + pwritev64; + scandirat; + scandirat64; + strchrnul; +} LIBC; + +LIBC_PRIVATE { + global: + gMallocLeakZygoteChild; +} LIBC_N; diff --git a/libc/libc.arm64.map b/libc/libc.arm64.map index 763f77ef1..be0bf5b52 100644 --- a/libc/libc.arm64.map +++ b/libc/libc.arm64.map @@ -241,7 +241,7 @@ LIBC { dup3; duplocale; endmntent; - endpwent; + endpwent; # arm arm64 x86 x86_64 mips mips64 nobrillo endservent; endutent; environ; @@ -1182,7 +1182,7 @@ LIBC_N { LIBC_PRIVATE { global: - dlmalloc_inspect_all; - dlmalloc_trim; + dlmalloc_inspect_all; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_trim; # arm arm64 x86 x86_64 mips mips64 nobrillo gMallocLeakZygoteChild; } LIBC_N; diff --git a/libc/libc.map.txt b/libc/libc.map.txt index 2572e4044..74f7b8282 100644 --- a/libc/libc.map.txt +++ b/libc/libc.map.txt @@ -58,13 +58,13 @@ LIBC { __freadable; __fsetlocking; __fstatfs64; # arm x86 mips - __futex_wait; # arm x86 mips - __futex_wake; # arm x86 mips + __futex_wait; # arm x86 mips nobrillo + __futex_wake; # arm x86 mips nobrillo __fwritable; __gedf2; # arm __get_h_errno; - __get_thread; # arm x86 mips - __get_tls; # arm x86 mips + __get_thread; # arm x86 mips nobrillo + __get_tls; # arm x86 mips nobrillo __getcpu; # arm x86 mips __getcwd; # arm x86 mips __getdents64; # arm x86 mips @@ -132,7 +132,7 @@ LIBC { __ns_skiprr; # arm x86 mips __ns_sprintrr; # arm x86 mips __ns_sprintrrf; # arm x86 mips - __open; # arm x86 mips + __open; # arm x86 mips nobrillo __open_2; __openat; # arm x86 mips __openat_2; @@ -149,8 +149,8 @@ LIBC { __p_time; __p_type; __p_type_syms; - __page_shift; # arm x86 mips - __page_size; # arm x86 mips + __page_shift; # arm x86 mips nobrillo + __page_size; # arm x86 mips nobrillo __poll_chk; __popcount_tab; # arm __popcountsi2; # arm x86 mips @@ -162,7 +162,7 @@ LIBC { __pselect6; # arm x86 mips __pthread_cleanup_pop; __pthread_cleanup_push; - __pthread_gettid; # arm x86 mips + __pthread_gettid; # arm x86 mips nobrillo __ptrace; # arm x86 mips __putlong; __putshort; @@ -203,8 +203,8 @@ LIBC { __sched_cpufree; __sched_getaffinity; # arm x86 mips __sclose; # arm x86 mips - __sdidinit; # arm x86 mips - __set_errno; # arm x86 mips + __sdidinit; # arm x86 mips nobrillo + __set_errno; # arm x86 mips nobrillo __set_thread_area; # x86 __set_tid_address; # arm x86 mips __set_tls; # arm mips @@ -215,7 +215,7 @@ LIBC { __sglue; # arm x86 mips __sigaction; # arm x86 mips __signalfd4; # arm x86 mips - __sinit; # arm x86 mips + __sinit; # arm x86 mips nobrillo __smakebuf; # arm x86 mips __snprintf_chk; __socket; # arm x86 mips @@ -277,7 +277,7 @@ LIBC { __unordsf2; # arm __vsnprintf_chk; __vsprintf_chk; - __wait4; # arm x86 mips + __wait4; # arm x86 mips nobrillo __waitid; # arm x86 mips _ctype_; _Exit; @@ -311,9 +311,9 @@ LIBC { android_gethostbynamefornet; android_set_abort_message; arc4random; - arc4random_addrandom; # arm x86 mips + arc4random_addrandom; # arm x86 mips nobrillo arc4random_buf; - arc4random_stir; # arm x86 mips + arc4random_stir; # arm x86 mips nobrillo arc4random_uniform; asctime; asctime64; # arm x86 mips @@ -327,11 +327,11 @@ LIBC { atoll; basename; basename_r; # arm x86 mips - bcopy; # arm x86 mips + bcopy; # arm x86 mips nobrillo bind; bindresvport; brk; - bsd_signal; # arm x86 mips + bsd_signal; # arm x86 mips nobrillo bsearch; btowc; bzero; # arm x86 mips @@ -387,7 +387,7 @@ LIBC { dup3; duplocale; endmntent; - endpwent; + endpwent; # arm arm64 x86 x86_64 mips mips64 nobrillo endservent; endutent; environ; @@ -434,7 +434,7 @@ LIBC { fdatasync; fdopen; fdopendir; - fdprintf; # arm x86 mips + fdprintf; # arm x86 mips nobrillo feof; feof_unlocked; ferror; @@ -487,7 +487,7 @@ LIBC { fsync; ftell; ftello; - ftime; # arm x86 mips + ftime; # arm x86 mips nobrillo ftok; ftruncate; ftruncate64; @@ -520,8 +520,8 @@ LIBC { getchar_unlocked; getcwd; getdelim; - getdents; # arm x86 mips - getdtablesize; # arm x86 mips + getdents; # arm x86 mips nobrillo + getdtablesize; # arm x86 mips nobrillo getegid; getenv; geteuid; @@ -596,7 +596,7 @@ LIBC { if_nametoindex; imaxabs; imaxdiv; - index; # arm x86 mips + index; # arm x86 mips nobrillo inet_addr; inet_aton; inet_lnaof; @@ -649,7 +649,7 @@ LIBC { isprint_l; ispunct; ispunct_l; - issetugid; # arm x86 mips + issetugid; # arm x86 mips nobrillo isspace; isspace_l; isupper; @@ -739,7 +739,7 @@ LIBC { mempcpy; memrchr; memset; - memswap; # arm x86 mips + memswap; # arm x86 mips nobrillo mincore; mkdir; mkdirat; @@ -853,7 +853,7 @@ LIBC { pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_getstack; - pthread_attr_getstackaddr; # arm x86 mips + pthread_attr_getstackaddr; # arm x86 mips nobrillo pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate; @@ -862,7 +862,7 @@ LIBC { pthread_attr_setschedpolicy; pthread_attr_setscope; pthread_attr_setstack; - pthread_attr_setstackaddr; # arm x86 mips + pthread_attr_setstackaddr; # arm x86 mips nobrillo pthread_attr_setstacksize; pthread_cond_broadcast; pthread_cond_destroy; @@ -1121,8 +1121,8 @@ LIBC { strncpy; strndup; strnlen; - strntoimax; # arm x86 mips - strntoumax; # arm x86 mips + strntoimax; # arm x86 mips nobrillo + strntoumax; # arm x86 mips nobrillo strpbrk; strptime; strrchr; @@ -1141,7 +1141,7 @@ LIBC { strtoll; strtoll_l; strtoq; - strtotimeval; # arm x86 mips + strtotimeval; # arm x86 mips nobrillo strtoul; strtoull; strtoull_l; @@ -1163,7 +1163,7 @@ LIBC { sysinfo; syslog; system; - sysv_signal; # arm x86 mips + sysv_signal; # arm x86 mips nobrillo tcdrain; tcflow; tcflush; @@ -1195,7 +1195,7 @@ LIBC { timerfd_settime; times; timezone; - tkill; # arm x86 mips + tkill; # arm x86 mips nobrillo tmpfile; tmpnam; toascii; @@ -1237,7 +1237,7 @@ LIBC { vdprintf; verr; verrx; - vfdprintf; # arm x86 mips + vfdprintf; # arm x86 mips nobrillo vfork; vfprintf; vfscanf; @@ -1257,7 +1257,7 @@ LIBC { vwprintf; vwscanf; wait; - wait3; # arm x86 mips + wait3; # arm x86 mips nobrillo wait4; waitid; waitpid; @@ -1306,7 +1306,7 @@ LIBC { wcstoull; wcstoull_l; wcstoumax; - wcswcs; # arm x86 mips + wcswcs; # arm x86 mips nobrillo wcswidth; wcsxfrm; wcsxfrm_l; @@ -1473,10 +1473,10 @@ LIBC_PRIVATE { _Unwind_VRS_Pop; # arm _Unwind_VRS_Set; # arm atexit; # arm - dlmalloc; # arm x86 mips - dlmalloc_inspect_all; - dlmalloc_trim; - dlmalloc_usable_size; # arm x86 mips + dlmalloc; # arm x86 mips nobrillo + dlmalloc_inspect_all; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_trim; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_usable_size; # arm x86 mips nobrillo gMallocLeakZygoteChild; SHA1Final; # arm x86 mips SHA1Init; # arm x86 mips diff --git a/libc/libc.mips.brillo.map b/libc/libc.mips.brillo.map new file mode 100644 index 000000000..d4a17eaf4 --- /dev/null +++ b/libc/libc.mips.brillo.map @@ -0,0 +1,1276 @@ +# Generated by genversionscripts.py. Do not edit. +LIBC { + global: + __assert; + __assert2; + __b64_ntop; + __b64_pton; + __brk; # arm x86 mips + __cmsg_nxthdr; + __connect; # arm x86 mips + __ctype_get_mb_cur_max; + __cxa_atexit; + __cxa_finalize; + __cxa_thread_atexit_impl; + __divdi3; # arm x86 mips + __dn_comp; + __dn_count_labels; + __dn_skipname; + __epoll_pwait; # arm x86 mips + __errno; + __exit; # arm x86 mips + __fadvise64; # x86 mips + __fbufsize; + __fcntl64; # arm x86 mips + __FD_CLR_chk; + __FD_ISSET_chk; + __FD_SET_chk; + __fgets_chk; + __flbf; + __fp_nquery; + __fp_query; + __fpclassify; + __fpclassifyd; + __fpclassifyf; + __fpclassifyl; + __fpending; + __fpurge; + __freadable; + __fsetlocking; + __fstatfs64; # arm x86 mips + __fwritable; + __get_h_errno; + __getcpu; # arm x86 mips + __getcwd; # arm x86 mips + __getdents64; # arm x86 mips + __getpid; # arm x86 mips + __getpriority; # arm x86 mips + __gnu_basename; + __gnu_strerror_r; + __hostalias; + __ioctl; # arm x86 mips + __isfinite; + __isfinitef; + __isfinitel; + __isinf; + __isinff; + __isinfl; + __isnan; + __isnanf; + __isnanl; + __isnormal; + __isnormalf; + __isnormall; + __isthreaded; + __libc_current_sigrtmax; + __libc_current_sigrtmin; + __libc_init; + __llseek; # arm x86 mips + __loc_aton; + __loc_ntoa; + __memchr_chk; + __memcpy_chk; + __memmove_chk; + __memrchr_chk; + __memset_chk; + __mmap2; # arm x86 mips + __moddi3; # x86 mips + __ns_format_ttl; # arm x86 mips + __ns_get16; # arm x86 mips + __ns_get32; # arm x86 mips + __ns_initparse; # arm x86 mips + __ns_makecanon; # arm x86 mips + __ns_msg_getflag; # arm x86 mips + __ns_name_compress; # arm x86 mips + __ns_name_ntol; # arm x86 mips + __ns_name_ntop; # arm x86 mips + __ns_name_pack; # arm x86 mips + __ns_name_pton; # arm x86 mips + __ns_name_rollback; # arm x86 mips + __ns_name_skip; # arm x86 mips + __ns_name_uncompress; # arm x86 mips + __ns_name_unpack; # arm x86 mips + __ns_parserr; # arm x86 mips + __ns_put16; # arm x86 mips + __ns_put32; # arm x86 mips + __ns_samename; # arm x86 mips + __ns_skiprr; # arm x86 mips + __ns_sprintrr; # arm x86 mips + __ns_sprintrrf; # arm x86 mips + __open_2; + __openat; # arm x86 mips + __openat_2; + __p_cdname; + __p_cdnname; + __p_class; + __p_class_syms; + __p_fqname; + __p_fqnname; + __p_option; + __p_query; + __p_rcode; + __p_secstodate; + __p_time; + __p_type; + __p_type_syms; + __poll_chk; + __popcountsi2; # arm x86 mips + __ppoll; # arm x86 mips + __ppoll_chk; + __pread64_chk; + __pread_chk; + __progname; + __pselect6; # arm x86 mips + __pthread_cleanup_pop; + __pthread_cleanup_push; + __ptrace; # arm x86 mips + __putlong; + __putshort; + __read_chk; + __readlink_chk; + __readlinkat_chk; + __reboot; # arm x86 mips + __recvfrom_chk; + __register_atfork; + __res_close; + __res_dnok; + __res_hnok; + __res_hostalias; + __res_isourserver; + __res_mailok; + __res_nameinquery; + __res_nclose; + __res_ninit; + __res_nmkquery; + __res_nquery; + __res_nquerydomain; + __res_nsearch; + __res_nsend; + __res_ownok; + __res_queriesmatch; + __res_querydomain; + __res_send; + __res_send_setqhook; + __res_send_setrhook; + __rt_sigaction; # arm x86 mips + __rt_sigpending; # arm x86 mips + __rt_sigprocmask; # arm x86 mips + __rt_sigsuspend; # arm x86 mips + __rt_sigtimedwait; # arm x86 mips + __sched_cpualloc; + __sched_cpucount; + __sched_cpufree; + __sched_getaffinity; # arm x86 mips + __sclose; # arm x86 mips + __set_tid_address; # arm x86 mips + __set_tls; # arm mips + __sF; + __sflags; # arm x86 mips + __sflush; # arm x86 mips + __sfp; # arm x86 mips + __sglue; # arm x86 mips + __sigaction; # arm x86 mips + __signalfd4; # arm x86 mips + __smakebuf; # arm x86 mips + __snprintf_chk; + __socket; # arm x86 mips + __sprintf_chk; + __sread; # arm x86 mips + __srefill; # arm x86 mips + __srget; # arm x86 mips + __sseek; # arm x86 mips + __stack_chk_fail; + __stack_chk_guard; + __statfs64; # arm x86 mips + __stpcpy_chk; + __stpncpy_chk; + __stpncpy_chk2; + __strcat_chk; + __strchr_chk; + __strcpy_chk; + __strlcat_chk; + __strlcpy_chk; + __strlen_chk; + __strncat_chk; + __strncpy_chk; + __strncpy_chk2; + __strrchr_chk; + __swbuf; # arm x86 mips + __swrite; # arm x86 mips + __swsetup; # arm x86 mips + __sym_ntop; + __sym_ntos; + __sym_ston; + __system_properties_init; + __system_property_add; + __system_property_area__; + __system_property_area_init; + __system_property_area_serial; + __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 + __timer_gettime; # arm x86 mips + __timer_settime; # arm x86 mips + __udivdi3; # arm x86 mips + __umask_chk; + __umoddi3; # x86 mips + __vsnprintf_chk; + __vsprintf_chk; + __waitid; # arm x86 mips + _ctype_; + _Exit; + _exit; + _flush_cache; # mips + _flushlbf; + _fwalk; # arm x86 mips + _getlong; + _getshort; + _longjmp; + _resolv_delete_cache_for_net; + _resolv_flush_cache_for_net; + _resolv_set_nameservers_for_net; + _setjmp; + _tolower; + _tolower_tab_; # arm x86 mips + _toupper; + _toupper_tab_; # arm x86 mips + abort; + abs; + accept; + accept4; + access; + acct; + alarm; + alphasort; + alphasort64; + android_getaddrinfofornet; + android_getaddrinfofornetcontext; + android_gethostbyaddrfornet; + android_gethostbynamefornet; + android_set_abort_message; + arc4random; + arc4random_buf; + arc4random_uniform; + asctime; + asctime64; # arm x86 mips + asctime64_r; # arm x86 mips + asctime_r; + asprintf; + at_quick_exit; + atof; + atoi; + atol; + atoll; + basename; + basename_r; # arm x86 mips + bind; + bindresvport; + brk; + bsearch; + btowc; + bzero; # arm x86 mips + c16rtomb; + c32rtomb; + cacheflush; # arm mips + calloc; + capget; + capset; + cfgetispeed; + cfgetospeed; + cfmakeraw; + cfsetispeed; + cfsetospeed; + cfsetspeed; + chdir; + chmod; + chown; + chroot; + clearenv; + clearerr; + clearerr_unlocked; + clock; + clock_getcpuclockid; + clock_getres; + clock_gettime; + clock_nanosleep; + clock_settime; + clone; + close; + closedir; + closelog; + connect; + creat; + creat64; + ctime; + ctime64; # arm x86 mips + ctime64_r; # arm x86 mips + ctime_r; + daemon; + daylight; + delete_module; + difftime; + dirfd; + dirname; + dirname_r; # arm x86 mips + div; + dn_expand; + dprintf; + drand48; + dup; + dup2; + dup3; + duplocale; + endmntent; + endservent; + endutent; + environ; + epoll_create; + epoll_create1; + epoll_ctl; + epoll_pwait; + epoll_wait; + erand48; + err; + error; + error_at_line; + error_message_count; + error_one_per_line; + error_print_progname; + errx; + ether_aton; + ether_aton_r; + ether_ntoa; + ether_ntoa_r; + eventfd; + eventfd_read; + eventfd_write; + execl; + execle; + execlp; + execv; + execve; + execvp; + execvpe; + exit; + faccessat; + fake_gmtime_r; # arm x86 mips + fake_localtime_r; # arm x86 mips + fallocate; + fallocate64; + fchdir; + fchmod; + fchmodat; + fchown; + fchownat; + fclose; + fcntl; + fdatasync; + fdopen; + fdopendir; + feof; + feof_unlocked; + ferror; + ferror_unlocked; + fflush; + ffs; + fgetc; + fgetln; + fgetpos; + fgets; + fgetwc; + fgetws; + fgetxattr; + fileno; + flistxattr; + flock; + flockfile; + fmemopen; + fnmatch; + fopen; + fork; + forkpty; + fpathconf; + fprintf; + fpurge; + fputc; + fputs; + fputwc; + fputws; + fread; + free; + free_malloc_leak_info; + freeaddrinfo; + freelocale; + fremovexattr; + freopen; + fscanf; + fseek; + fseeko; + fsetpos; + fsetxattr; + fstat; + fstat64; + fstatat; + fstatat64; + fstatfs; + fstatfs64; + fstatvfs; + fstatvfs64; + fsync; + ftell; + ftello; + ftok; + ftruncate; + ftruncate64; + ftrylockfile; + fts_children; + fts_close; + fts_open; + fts_read; + fts_set; + ftw; + ftw64; + funlockfile; + funopen; + futimens; + fwide; + fwprintf; + fwrite; + fwscanf; + gai_strerror; + get_avphys_pages; + get_malloc_leak_info; + get_nprocs; + get_nprocs_conf; + get_phys_pages; + getaddrinfo; + getauxval; + getc; + getc_unlocked; + getchar; + getchar_unlocked; + getcwd; + getdelim; + getegid; + getenv; + geteuid; + getgid; + getgrgid; + getgrnam; + getgrouplist; + getgroups; + gethostbyaddr; + gethostbyaddr_r; + gethostbyname; + gethostbyname2; + gethostbyname2_r; + gethostbyname_r; + gethostent; + gethostname; + getitimer; + getline; + getlogin; + getmntent; + getmntent_r; + getnameinfo; + getnetbyaddr; + getnetbyname; + getopt; + getopt_long; + getopt_long_only; + getpagesize; + getpeername; + getpgid; + getpgrp; + getpid; + getppid; + getpriority; + getprogname; + getprotobyname; + getprotobynumber; + getpt; + getpwnam; + getpwnam_r; + getpwuid; + getpwuid_r; + getresgid; + getresuid; + getrlimit; + getrlimit64; + getrusage; + gets; + getservbyname; + getservbyport; + getservent; + getsid; + getsockname; + getsockopt; + gettid; + gettimeofday; + getuid; + getutent; + getwc; + getwchar; + getxattr; + gmtime; + gmtime64; # arm x86 mips + gmtime64_r; # arm x86 mips + gmtime_r; + grantpt; + herror; + hstrerror; + htonl; + htons; + if_indextoname; + if_nametoindex; + imaxabs; + imaxdiv; + inet_addr; + inet_aton; + inet_lnaof; + inet_makeaddr; + inet_netof; + inet_network; + inet_nsap_addr; + inet_nsap_ntoa; + inet_ntoa; + inet_ntop; + inet_pton; + init_module; + initgroups; + initstate; + inotify_add_watch; + inotify_init; + inotify_init1; + inotify_rm_watch; + insque; + ioctl; + isalnum; + isalnum_l; + isalpha; + isalpha_l; + isascii; + isatty; + isblank; + isblank_l; + iscntrl; + iscntrl_l; + isdigit; + isdigit_l; + isfinite; + isfinitef; + isfinitel; + isgraph; + isgraph_l; + isinf; + isinff; + isinfl; + islower; + islower_l; + isnan; + isnanf; + isnanl; + isnormal; + isnormalf; + isnormall; + isprint; + isprint_l; + ispunct; + ispunct_l; + isspace; + isspace_l; + isupper; + isupper_l; + iswalnum; + iswalnum_l; + iswalpha; + iswalpha_l; + iswblank; + iswblank_l; + iswcntrl; + iswcntrl_l; + iswctype; + iswctype_l; + iswdigit; + iswdigit_l; + iswgraph; + iswgraph_l; + iswlower; + iswlower_l; + iswprint; + iswprint_l; + iswpunct; + iswpunct_l; + iswspace; + iswspace_l; + iswupper; + iswupper_l; + iswxdigit; + iswxdigit_l; + isxdigit; + isxdigit_l; + jrand48; + kill; + killpg; + klogctl; + labs; + lchown; + lcong48; + ldexp; + ldiv; + lfind; + lgetxattr; + link; + linkat; + listen; + listxattr; + llabs; + lldiv; + llistxattr; + localeconv; + localtime; + localtime64; # arm x86 mips + localtime64_r; # arm x86 mips + localtime_r; + login_tty; + longjmp; + lrand48; + lremovexattr; + lsearch; + lseek; + lseek64; + lsetxattr; + lstat; + lstat64; + madvise; + mallinfo; + malloc; + malloc_info; + malloc_usable_size; + mbrlen; + mbrtoc16; + mbrtoc32; + mbrtowc; + mbsinit; + mbsnrtowcs; + mbsrtowcs; + mbstowcs; + mbtowc; + memalign; + memccpy; + memchr; + memcmp; + memcpy; + memmem; + memmove; + mempcpy; + memrchr; + memset; + mincore; + mkdir; + mkdirat; + mkdtemp; + mkfifo; + mkfifoat; + mknod; + mknodat; + mkostemp; + mkostemp64; + mkostemps; + mkostemps64; + mkstemp; + mkstemp64; + mkstemps; + mkstemps64; + mktemp; + mktime; + mktime64; # arm x86 mips + mktime_tz; + mlock; + mlockall; + mmap; + mmap64; + mount; + mprotect; + mrand48; + mremap; + msync; + munlock; + munlockall; + munmap; + nanosleep; + newlocale; + nftw; + nftw64; + nice; + nrand48; + nsdispatch; + ntohl; + ntohs; + open; + open64; + open_memstream; + open_wmemstream; + openat; + openat64; + opendir; + openlog; + openpty; + optarg; + opterr; + optind; + optopt; + optreset; + pathconf; + pause; + pclose; + perror; + personality; + pipe; + pipe2; + poll; + popen; + posix_fadvise; + posix_fadvise64; + posix_fallocate; + posix_fallocate64; + posix_madvise; + posix_memalign; + posix_openpt; + ppoll; + prctl; + pread; + pread64; + printf; + prlimit64; + process_vm_readv; + process_vm_writev; + pselect; + psiginfo; + psignal; + pthread_atfork; + pthread_attr_destroy; + pthread_attr_getdetachstate; + pthread_attr_getguardsize; + pthread_attr_getschedparam; + pthread_attr_getschedpolicy; + pthread_attr_getscope; + pthread_attr_getstack; + pthread_attr_getstacksize; + pthread_attr_init; + pthread_attr_setdetachstate; + pthread_attr_setguardsize; + pthread_attr_setschedparam; + pthread_attr_setschedpolicy; + pthread_attr_setscope; + pthread_attr_setstack; + pthread_attr_setstacksize; + pthread_cond_broadcast; + pthread_cond_destroy; + pthread_cond_init; + pthread_cond_signal; + pthread_cond_timedwait; + pthread_cond_timedwait_monotonic; # arm x86 mips + pthread_cond_timedwait_monotonic_np; # arm x86 mips + pthread_cond_timedwait_relative_np; # arm x86 mips + pthread_cond_timeout_np; # arm x86 mips + pthread_cond_wait; + pthread_condattr_destroy; + pthread_condattr_getclock; + pthread_condattr_getpshared; + pthread_condattr_init; + pthread_condattr_setclock; + pthread_condattr_setpshared; + pthread_create; + pthread_detach; + pthread_equal; + pthread_exit; + pthread_getattr_np; + pthread_getcpuclockid; + pthread_getschedparam; + pthread_getspecific; + pthread_gettid_np; + pthread_join; + pthread_key_create; + pthread_key_delete; + pthread_kill; + pthread_mutex_destroy; + pthread_mutex_init; + pthread_mutex_lock; + pthread_mutex_lock_timeout_np; # arm x86 mips + pthread_mutex_timedlock; + pthread_mutex_trylock; + pthread_mutex_unlock; + pthread_mutexattr_destroy; + pthread_mutexattr_getpshared; + pthread_mutexattr_gettype; + pthread_mutexattr_init; + pthread_mutexattr_setpshared; + pthread_mutexattr_settype; + pthread_once; + pthread_rwlock_destroy; + pthread_rwlock_init; + pthread_rwlock_rdlock; + pthread_rwlock_timedrdlock; + pthread_rwlock_timedwrlock; + pthread_rwlock_tryrdlock; + pthread_rwlock_trywrlock; + pthread_rwlock_unlock; + pthread_rwlock_wrlock; + pthread_rwlockattr_destroy; + pthread_rwlockattr_getkind_np; + pthread_rwlockattr_getpshared; + pthread_rwlockattr_init; + pthread_rwlockattr_setkind_np; + pthread_rwlockattr_setpshared; + pthread_self; + pthread_setname_np; + pthread_setschedparam; + pthread_setspecific; + pthread_sigmask; + ptrace; + ptsname; + ptsname_r; + putc; + putc_unlocked; + putchar; + putchar_unlocked; + putenv; + puts; + pututline; + putw; # arm x86 mips + putwc; + putwchar; + pvalloc; # arm x86 mips + pwrite; + pwrite64; + qsort; + quick_exit; + raise; + rand; + rand_r; + random; + read; + readahead; + readdir; + readdir64; + readdir64_r; + readdir_r; + readlink; + readlinkat; + readv; + realloc; + realpath; + reboot; + recv; + recvfrom; + recvmmsg; + recvmsg; + regcomp; + regerror; + regexec; + regfree; + remove; + removexattr; + remque; + rename; + renameat; + res_init; + res_mkquery; + res_query; + res_search; + rewind; + rewinddir; + rmdir; + sbrk; + scandir; + scandir64; + scanf; + sched_get_priority_max; + sched_get_priority_min; + sched_getaffinity; + sched_getcpu; + sched_getparam; + sched_getscheduler; + sched_rr_get_interval; + sched_setaffinity; + sched_setparam; + sched_setscheduler; + sched_yield; + seed48; + seekdir; + select; + sem_close; + sem_destroy; + sem_getvalue; + sem_init; + sem_open; + sem_post; + sem_timedwait; + sem_trywait; + sem_unlink; + sem_wait; + send; + sendfile; + sendfile64; + sendmmsg; + sendmsg; + sendto; + setbuf; + setbuffer; + setegid; + setenv; + seteuid; + setfsgid; + setfsuid; + setgid; + setgroups; + sethostname; + setitimer; + setjmp; + setlinebuf; + setlocale; + setlogmask; + setmntent; + setns; + setpgid; + setpgrp; + setpriority; + setprogname; + setregid; + setresgid; + setresuid; + setreuid; + setrlimit; + setrlimit64; + setservent; + setsid; + setsockopt; + setstate; + settimeofday; + setuid; + setutent; + setvbuf; + setxattr; + shutdown; + sigaction; + sigaddset; + sigaltstack; + sigblock; + sigdelset; + sigemptyset; + sigfillset; + siginterrupt; + sigismember; + siglongjmp; + signal; + signalfd; + sigpending; + sigprocmask; + sigqueue; + sigsetjmp; + sigsetmask; + sigsuspend; + sigtimedwait; + sigwait; + sigwaitinfo; + sleep; + snprintf; + socket; + socketpair; + splice; + sprintf; + srand; + srand48; + srandom; + sscanf; + stat; + stat64; + statfs; + statfs64; + statvfs; + statvfs64; + stderr; + stdin; + stdout; + stpcpy; + stpncpy; + strcasecmp; + strcasecmp_l; + strcasestr; + strcat; + strchr; + strcmp; + strcoll; + strcoll_l; + strcpy; + strcspn; + strdup; + strerror; + strerror_l; + strerror_r; + strftime; + strftime_l; + strlcat; + strlcpy; + strlen; + strncasecmp; + strncasecmp_l; + strncat; + strncmp; + strncpy; + strndup; + strnlen; + strpbrk; + strptime; + strrchr; + strsep; + strsignal; + strspn; + strstr; + strtod; + strtof; + strtoimax; + strtok; + strtok_r; + strtol; + strtold; + strtold_l; + strtoll; + strtoll_l; + strtoq; + strtoul; + strtoull; + strtoull_l; + strtoumax; + strtouq; + strxfrm; + strxfrm_l; + swapoff; + swapon; + swprintf; + swscanf; + symlink; + symlinkat; + sync; + sys_siglist; + sys_signame; + syscall; + sysconf; + sysinfo; + syslog; + system; + tcdrain; + tcflow; + tcflush; + tcgetattr; + tcgetpgrp; + tcgetsid; + tcsendbreak; + tcsetattr; + tcsetpgrp; + tdelete; + tdestroy; + tee; + telldir; + tempnam; + tfind; + tgkill; + time; + timegm; + timegm64; # arm x86 mips + timelocal; + timelocal64; # arm x86 mips + timer_create; + timer_delete; + timer_getoverrun; + timer_gettime; + timer_settime; + timerfd_create; + timerfd_gettime; + timerfd_settime; + times; + timezone; + tmpfile; + tmpnam; + toascii; + tolower; + tolower_l; + toupper; + toupper_l; + towlower; + towlower_l; + towupper; + towupper_l; + truncate; + truncate64; + tsearch; + ttyname; + ttyname_r; + twalk; + tzname; + tzset; + umask; + umount; + umount2; + uname; + ungetc; + ungetwc; + unlink; + unlinkat; + unlockpt; + unsetenv; + unshare; + uselocale; + usleep; + utime; + utimensat; + utimes; + utmpname; + valloc; # arm x86 mips + vasprintf; + vdprintf; + verr; + verrx; + vfork; + vfprintf; + vfscanf; + vfwprintf; + vfwscanf; + vmsplice; + vprintf; + vscanf; + vsnprintf; + vsprintf; + vsscanf; + vswprintf; + vswscanf; + vsyslog; + vwarn; + vwarnx; + vwprintf; + vwscanf; + wait; + wait4; + waitid; + waitpid; + warn; + warnx; + wcpcpy; + wcpncpy; + wcrtomb; + wcscasecmp; + wcscasecmp_l; + wcscat; + wcschr; + wcscmp; + wcscoll; + wcscoll_l; + wcscpy; + wcscspn; + wcsdup; + wcsftime; + wcslcat; + wcslcpy; + wcslen; + wcsncasecmp; + wcsncasecmp_l; + wcsncat; + wcsncmp; + wcsncpy; + wcsnlen; + wcsnrtombs; + wcspbrk; + wcsrchr; + wcsrtombs; + wcsspn; + wcsstr; + wcstod; + wcstof; + wcstoimax; + wcstok; + wcstol; + wcstold; + wcstold_l; + wcstoll; + wcstoll_l; + wcstombs; + wcstoul; + wcstoull; + wcstoull_l; + wcstoumax; + wcswidth; + wcsxfrm; + wcsxfrm_l; + wctob; + wctomb; + wctype; + wctype_l; + wcwidth; + wmemchr; + wmemcmp; + wmemcpy; + wmemmove; + wmempcpy; + wmemset; + wprintf; + write; + writev; + wscanf; + local: + *; +}; + +LIBC_N { + global: + __fread_chk; + __fwrite_chk; + __getcwd_chk; + __pwrite_chk; + __pwrite64_chk; + __write_chk; + fileno_unlocked; + getgrgid_r; + getgrnam_r; + preadv; + preadv64; + prlimit; # arm mips x86 + pthread_barrierattr_destroy; + pthread_barrierattr_getpshared; + pthread_barrierattr_init; + pthread_barrierattr_setpshared; + pthread_barrier_destroy; + pthread_barrier_init; + pthread_barrier_wait; + pthread_spin_destroy; + pthread_spin_init; + pthread_spin_lock; + pthread_spin_trylock; + pthread_spin_unlock; + pwritev; + pwritev64; + scandirat; + scandirat64; + strchrnul; +} LIBC; + +LIBC_PRIVATE { + global: + __accept4; # arm x86 mips + __bionic_brk; # arm x86 mips + gMallocLeakZygoteChild; + SHA1Final; # arm x86 mips + SHA1Init; # arm x86 mips + SHA1Transform; # arm x86 mips + SHA1Update; # arm x86 mips +} LIBC_N; diff --git a/libc/libc.mips.map b/libc/libc.mips.map index e268bad41..18c482e8e 100644 --- a/libc/libc.mips.map +++ b/libc/libc.mips.map @@ -38,12 +38,12 @@ LIBC { __freadable; __fsetlocking; __fstatfs64; # arm x86 mips - __futex_wait; # arm x86 mips - __futex_wake; # arm x86 mips + __futex_wait; # arm x86 mips nobrillo + __futex_wake; # arm x86 mips nobrillo __fwritable; __get_h_errno; - __get_thread; # arm x86 mips - __get_tls; # arm x86 mips + __get_thread; # arm x86 mips nobrillo + __get_tls; # arm x86 mips nobrillo __getcpu; # arm x86 mips __getcwd; # arm x86 mips __getdents64; # arm x86 mips @@ -101,7 +101,7 @@ LIBC { __ns_skiprr; # arm x86 mips __ns_sprintrr; # arm x86 mips __ns_sprintrrf; # arm x86 mips - __open; # arm x86 mips + __open; # arm x86 mips nobrillo __open_2; __openat; # arm x86 mips __openat_2; @@ -118,8 +118,8 @@ LIBC { __p_time; __p_type; __p_type_syms; - __page_shift; # arm x86 mips - __page_size; # arm x86 mips + __page_shift; # arm x86 mips nobrillo + __page_size; # arm x86 mips nobrillo __poll_chk; __popcountsi2; # arm x86 mips __ppoll; # arm x86 mips @@ -130,7 +130,7 @@ LIBC { __pselect6; # arm x86 mips __pthread_cleanup_pop; __pthread_cleanup_push; - __pthread_gettid; # arm x86 mips + __pthread_gettid; # arm x86 mips nobrillo __ptrace; # arm x86 mips __putlong; __putshort; @@ -170,8 +170,8 @@ LIBC { __sched_cpufree; __sched_getaffinity; # arm x86 mips __sclose; # arm x86 mips - __sdidinit; # arm x86 mips - __set_errno; # arm x86 mips + __sdidinit; # arm x86 mips nobrillo + __set_errno; # arm x86 mips nobrillo __set_tid_address; # arm x86 mips __set_tls; # arm mips __sF; @@ -181,7 +181,7 @@ LIBC { __sglue; # arm x86 mips __sigaction; # arm x86 mips __signalfd4; # arm x86 mips - __sinit; # arm x86 mips + __sinit; # arm x86 mips nobrillo __smakebuf; # arm x86 mips __snprintf_chk; __socket; # arm x86 mips @@ -237,7 +237,7 @@ LIBC { __umoddi3; # x86 mips __vsnprintf_chk; __vsprintf_chk; - __wait4; # arm x86 mips + __wait4; # arm x86 mips nobrillo __waitid; # arm x86 mips _ctype_; _Exit; @@ -271,9 +271,9 @@ LIBC { android_gethostbynamefornet; android_set_abort_message; arc4random; - arc4random_addrandom; # arm x86 mips + arc4random_addrandom; # arm x86 mips nobrillo arc4random_buf; - arc4random_stir; # arm x86 mips + arc4random_stir; # arm x86 mips nobrillo arc4random_uniform; asctime; asctime64; # arm x86 mips @@ -287,11 +287,11 @@ LIBC { atoll; basename; basename_r; # arm x86 mips - bcopy; # arm x86 mips + bcopy; # arm x86 mips nobrillo bind; bindresvport; brk; - bsd_signal; # arm x86 mips + bsd_signal; # arm x86 mips nobrillo bsearch; btowc; bzero; # arm x86 mips @@ -347,7 +347,7 @@ LIBC { dup3; duplocale; endmntent; - endpwent; + endpwent; # arm arm64 x86 x86_64 mips mips64 nobrillo endservent; endutent; environ; @@ -394,7 +394,7 @@ LIBC { fdatasync; fdopen; fdopendir; - fdprintf; # arm x86 mips + fdprintf; # arm x86 mips nobrillo feof; feof_unlocked; ferror; @@ -447,7 +447,7 @@ LIBC { fsync; ftell; ftello; - ftime; # arm x86 mips + ftime; # arm x86 mips nobrillo ftok; ftruncate; ftruncate64; @@ -480,8 +480,8 @@ LIBC { getchar_unlocked; getcwd; getdelim; - getdents; # arm x86 mips - getdtablesize; # arm x86 mips + getdents; # arm x86 mips nobrillo + getdtablesize; # arm x86 mips nobrillo getegid; getenv; geteuid; @@ -556,7 +556,7 @@ LIBC { if_nametoindex; imaxabs; imaxdiv; - index; # arm x86 mips + index; # arm x86 mips nobrillo inet_addr; inet_aton; inet_lnaof; @@ -609,7 +609,7 @@ LIBC { isprint_l; ispunct; ispunct_l; - issetugid; # arm x86 mips + issetugid; # arm x86 mips nobrillo isspace; isspace_l; isupper; @@ -699,7 +699,7 @@ LIBC { mempcpy; memrchr; memset; - memswap; # arm x86 mips + memswap; # arm x86 mips nobrillo mincore; mkdir; mkdirat; @@ -790,7 +790,7 @@ LIBC { pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_getstack; - pthread_attr_getstackaddr; # arm x86 mips + pthread_attr_getstackaddr; # arm x86 mips nobrillo pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate; @@ -799,7 +799,7 @@ LIBC { pthread_attr_setschedpolicy; pthread_attr_setscope; pthread_attr_setstack; - pthread_attr_setstackaddr; # arm x86 mips + pthread_attr_setstackaddr; # arm x86 mips nobrillo pthread_attr_setstacksize; pthread_cond_broadcast; pthread_cond_destroy; @@ -1057,8 +1057,8 @@ LIBC { strncpy; strndup; strnlen; - strntoimax; # arm x86 mips - strntoumax; # arm x86 mips + strntoimax; # arm x86 mips nobrillo + strntoumax; # arm x86 mips nobrillo strpbrk; strptime; strrchr; @@ -1077,7 +1077,7 @@ LIBC { strtoll; strtoll_l; strtoq; - strtotimeval; # arm x86 mips + strtotimeval; # arm x86 mips nobrillo strtoul; strtoull; strtoull_l; @@ -1099,7 +1099,7 @@ LIBC { sysinfo; syslog; system; - sysv_signal; # arm x86 mips + sysv_signal; # arm x86 mips nobrillo tcdrain; tcflow; tcflush; @@ -1131,7 +1131,7 @@ LIBC { timerfd_settime; times; timezone; - tkill; # arm x86 mips + tkill; # arm x86 mips nobrillo tmpfile; tmpnam; toascii; @@ -1173,7 +1173,7 @@ LIBC { vdprintf; verr; verrx; - vfdprintf; # arm x86 mips + vfdprintf; # arm x86 mips nobrillo vfork; vfprintf; vfscanf; @@ -1193,7 +1193,7 @@ LIBC { vwprintf; vwscanf; wait; - wait3; # arm x86 mips + wait3; # arm x86 mips nobrillo wait4; waitid; waitpid; @@ -1242,7 +1242,7 @@ LIBC { wcstoull; wcstoull_l; wcstoumax; - wcswcs; # arm x86 mips + wcswcs; # arm x86 mips nobrillo wcswidth; wcsxfrm; wcsxfrm_l; @@ -1302,10 +1302,10 @@ LIBC_PRIVATE { global: __accept4; # arm x86 mips __bionic_brk; # arm x86 mips - dlmalloc; # arm x86 mips - dlmalloc_inspect_all; - dlmalloc_trim; - dlmalloc_usable_size; # arm x86 mips + dlmalloc; # arm x86 mips nobrillo + dlmalloc_inspect_all; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_trim; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_usable_size; # arm x86 mips nobrillo gMallocLeakZygoteChild; SHA1Final; # arm x86 mips SHA1Init; # arm x86 mips diff --git a/libc/libc.mips64.brillo.map b/libc/libc.mips64.brillo.map new file mode 100644 index 000000000..8fa46a84c --- /dev/null +++ b/libc/libc.mips64.brillo.map @@ -0,0 +1,1185 @@ +# Generated by genversionscripts.py. Do not edit. +LIBC { + global: + __assert; + __assert2; + __b64_ntop; + __b64_pton; + __cmsg_nxthdr; + __ctype_get_mb_cur_max; + __cxa_atexit; + __cxa_finalize; + __cxa_thread_atexit_impl; + __dn_comp; + __dn_count_labels; + __dn_skipname; + __errno; + __fbufsize; + __FD_CLR_chk; + __FD_ISSET_chk; + __FD_SET_chk; + __fgets_chk; + __flbf; + __fp_nquery; + __fp_query; + __fpclassify; + __fpclassifyd; + __fpclassifyf; + __fpclassifyl; + __fpending; + __fpurge; + __freadable; + __fsetlocking; + __fwritable; + __get_h_errno; + __gnu_basename; + __gnu_strerror_r; + __hostalias; + __isfinite; + __isfinitef; + __isfinitel; + __isinf; + __isinff; + __isinfl; + __isnan; + __isnanf; + __isnanl; + __isnormal; + __isnormalf; + __isnormall; + __isthreaded; + __libc_current_sigrtmax; + __libc_current_sigrtmin; + __libc_init; + __loc_aton; + __loc_ntoa; + __memchr_chk; + __memcpy_chk; + __memmove_chk; + __memrchr_chk; + __memset_chk; + __open_2; + __openat_2; + __p_cdname; + __p_cdnname; + __p_class; + __p_class_syms; + __p_fqname; + __p_fqnname; + __p_option; + __p_query; + __p_rcode; + __p_secstodate; + __p_time; + __p_type; + __p_type_syms; + __poll_chk; + __ppoll_chk; + __pread64_chk; + __pread_chk; + __progname; + __pthread_cleanup_pop; + __pthread_cleanup_push; + __putlong; + __putshort; + __read_chk; + __readlink_chk; + __readlinkat_chk; + __recvfrom_chk; + __register_atfork; + __res_close; + __res_dnok; + __res_hnok; + __res_hostalias; + __res_isourserver; + __res_mailok; + __res_nameinquery; + __res_nclose; + __res_ninit; + __res_nmkquery; + __res_nquery; + __res_nquerydomain; + __res_nsearch; + __res_nsend; + __res_ownok; + __res_queriesmatch; + __res_querydomain; + __res_send; + __res_send_setqhook; + __res_send_setrhook; + __sched_cpualloc; + __sched_cpucount; + __sched_cpufree; + __sF; + __snprintf_chk; + __sprintf_chk; + __stack_chk_fail; + __stack_chk_guard; + __stpcpy_chk; + __stpncpy_chk; + __stpncpy_chk2; + __strcat_chk; + __strchr_chk; + __strcpy_chk; + __strlcat_chk; + __strlcpy_chk; + __strlen_chk; + __strncat_chk; + __strncpy_chk; + __strncpy_chk2; + __strrchr_chk; + __sym_ntop; + __sym_ntos; + __sym_ston; + __system_properties_init; + __system_property_add; + __system_property_area__; + __system_property_area_init; + __system_property_area_serial; + __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; + __umask_chk; + __vsnprintf_chk; + __vsprintf_chk; + _ctype_; + _Exit; + _exit; + _flushlbf; + _getlong; + _getshort; + _longjmp; + _resolv_delete_cache_for_net; + _resolv_flush_cache_for_net; + _resolv_set_nameservers_for_net; + _setjmp; + _tolower; + _toupper; + abort; + abs; + accept; + accept4; + access; + acct; + alarm; + alphasort; + alphasort64; + android_getaddrinfofornet; + android_getaddrinfofornetcontext; + android_gethostbyaddrfornet; + android_gethostbynamefornet; + android_set_abort_message; + arc4random; + arc4random_buf; + arc4random_uniform; + asctime; + asctime_r; + asprintf; + at_quick_exit; + atof; + atoi; + atol; + atoll; + basename; + bind; + bindresvport; + brk; + bsearch; + btowc; + c16rtomb; + c32rtomb; + calloc; + capget; + capset; + cfgetispeed; + cfgetospeed; + cfmakeraw; + cfsetispeed; + cfsetospeed; + cfsetspeed; + chdir; + chmod; + chown; + chroot; + clearenv; + clearerr; + clearerr_unlocked; + clock; + clock_getcpuclockid; + clock_getres; + clock_gettime; + clock_nanosleep; + clock_settime; + clone; + close; + closedir; + closelog; + connect; + creat; + creat64; + ctime; + ctime_r; + daemon; + daylight; + delete_module; + difftime; + dirfd; + dirname; + div; + dn_expand; + dprintf; + drand48; + dup; + dup2; + dup3; + duplocale; + endmntent; + endservent; + endutent; + environ; + epoll_create; + epoll_create1; + epoll_ctl; + epoll_pwait; + epoll_wait; + erand48; + err; + error; + error_at_line; + error_message_count; + error_one_per_line; + error_print_progname; + errx; + ether_aton; + ether_aton_r; + ether_ntoa; + ether_ntoa_r; + eventfd; + eventfd_read; + eventfd_write; + execl; + execle; + execlp; + execv; + execve; + execvp; + execvpe; + exit; + faccessat; + fallocate; + fallocate64; + fchdir; + fchmod; + fchmodat; + fchown; + fchownat; + fclose; + fcntl; + fdatasync; + fdopen; + fdopendir; + feof; + feof_unlocked; + ferror; + ferror_unlocked; + fflush; + ffs; + fgetc; + fgetln; + fgetpos; + fgets; + fgetwc; + fgetws; + fgetxattr; + fileno; + flistxattr; + flock; + flockfile; + fmemopen; + fnmatch; + fopen; + fork; + forkpty; + fpathconf; + fprintf; + fpurge; + fputc; + fputs; + fputwc; + fputws; + fread; + free; + free_malloc_leak_info; + freeaddrinfo; + freelocale; + fremovexattr; + freopen; + fscanf; + fseek; + fseeko; + fsetpos; + fsetxattr; + fstat; + fstat64; + fstatat; + fstatat64; + fstatfs; + fstatfs64; + fstatvfs; + fstatvfs64; + fsync; + ftell; + ftello; + ftok; + ftruncate; + ftruncate64; + ftrylockfile; + fts_children; + fts_close; + fts_open; + fts_read; + fts_set; + ftw; + ftw64; + funlockfile; + funopen; + futimens; + fwide; + fwprintf; + fwrite; + fwscanf; + gai_strerror; + get_avphys_pages; + get_malloc_leak_info; + get_nprocs; + get_nprocs_conf; + get_phys_pages; + getaddrinfo; + getauxval; + getc; + getc_unlocked; + getchar; + getchar_unlocked; + getcwd; + getdelim; + getegid; + getenv; + geteuid; + getgid; + getgrgid; + getgrnam; + getgrouplist; + getgroups; + gethostbyaddr; + gethostbyaddr_r; + gethostbyname; + gethostbyname2; + gethostbyname2_r; + gethostbyname_r; + gethostent; + gethostname; + getitimer; + getline; + getlogin; + getmntent; + getmntent_r; + getnameinfo; + getnetbyaddr; + getnetbyname; + getopt; + getopt_long; + getopt_long_only; + getpagesize; + getpeername; + getpgid; + getpgrp; + getpid; + getppid; + getpriority; + getprogname; + getprotobyname; + getprotobynumber; + getpt; + getpwnam; + getpwnam_r; + getpwuid; + getpwuid_r; + getresgid; + getresuid; + getrlimit; + getrlimit64; + getrusage; + gets; + getservbyname; + getservbyport; + getservent; + getsid; + getsockname; + getsockopt; + gettid; + gettimeofday; + getuid; + getutent; + getwc; + getwchar; + getxattr; + gmtime; + gmtime_r; + grantpt; + herror; + hstrerror; + htonl; + htons; + if_indextoname; + if_nametoindex; + imaxabs; + imaxdiv; + inet_addr; + inet_aton; + inet_lnaof; + inet_makeaddr; + inet_netof; + inet_network; + inet_nsap_addr; + inet_nsap_ntoa; + inet_ntoa; + inet_ntop; + inet_pton; + init_module; + initgroups; + initstate; + inotify_add_watch; + inotify_init; + inotify_init1; + inotify_rm_watch; + insque; + ioctl; + isalnum; + isalnum_l; + isalpha; + isalpha_l; + isascii; + isatty; + isblank; + isblank_l; + iscntrl; + iscntrl_l; + isdigit; + isdigit_l; + isfinite; + isfinitef; + isfinitel; + isgraph; + isgraph_l; + isinf; + isinff; + isinfl; + islower; + islower_l; + isnan; + isnanf; + isnanl; + isnormal; + isnormalf; + isnormall; + isprint; + isprint_l; + ispunct; + ispunct_l; + isspace; + isspace_l; + isupper; + isupper_l; + iswalnum; + iswalnum_l; + iswalpha; + iswalpha_l; + iswblank; + iswblank_l; + iswcntrl; + iswcntrl_l; + iswctype; + iswctype_l; + iswdigit; + iswdigit_l; + iswgraph; + iswgraph_l; + iswlower; + iswlower_l; + iswprint; + iswprint_l; + iswpunct; + iswpunct_l; + iswspace; + iswspace_l; + iswupper; + iswupper_l; + iswxdigit; + iswxdigit_l; + isxdigit; + isxdigit_l; + jrand48; + kill; + killpg; + klogctl; + labs; + lchown; + lcong48; + ldexp; + ldiv; + lfind; + lgetxattr; + link; + linkat; + listen; + listxattr; + llabs; + lldiv; + llistxattr; + localeconv; + localtime; + localtime_r; + login_tty; + longjmp; + lrand48; + lremovexattr; + lsearch; + lseek; + lseek64; + lsetxattr; + lstat; + lstat64; + madvise; + mallinfo; + malloc; + malloc_info; + malloc_usable_size; + mbrlen; + mbrtoc16; + mbrtoc32; + mbrtowc; + mbsinit; + mbsnrtowcs; + mbsrtowcs; + mbstowcs; + mbtowc; + memalign; + memccpy; + memchr; + memcmp; + memcpy; + memmem; + memmove; + mempcpy; + memrchr; + memset; + mincore; + mkdir; + mkdirat; + mkdtemp; + mkfifo; + mkfifoat; + mknod; + mknodat; + mkostemp; + mkostemp64; + mkostemps; + mkostemps64; + mkstemp; + mkstemp64; + mkstemps; + mkstemps64; + mktemp; + mktime; + mktime_tz; + mlock; + mlockall; + mmap; + mmap64; + mount; + mprotect; + mrand48; + mremap; + msync; + munlock; + munlockall; + munmap; + nanosleep; + newlocale; + nftw; + nftw64; + nice; + nrand48; + ns_format_ttl; # arm64 x86_64 mips64 + ns_get16; # arm64 x86_64 mips64 + ns_get32; # arm64 x86_64 mips64 + ns_initparse; # arm64 x86_64 mips64 + ns_makecanon; # arm64 x86_64 mips64 + ns_msg_getflag; # arm64 x86_64 mips64 + ns_name_compress; # arm64 x86_64 mips64 + ns_name_ntol; # arm64 x86_64 mips64 + ns_name_ntop; # arm64 x86_64 mips64 + ns_name_pack; # arm64 x86_64 mips64 + ns_name_pton; # arm64 x86_64 mips64 + ns_name_rollback; # arm64 x86_64 mips64 + ns_name_skip; # arm64 x86_64 mips64 + ns_name_uncompress; # arm64 x86_64 mips64 + ns_name_unpack; # arm64 x86_64 mips64 + ns_parserr; # arm64 x86_64 mips64 + ns_put16; # arm64 x86_64 mips64 + ns_put32; # arm64 x86_64 mips64 + ns_samename; # arm64 x86_64 mips64 + ns_skiprr; # arm64 x86_64 mips64 + ns_sprintrr; # arm64 x86_64 mips64 + ns_sprintrrf; # arm64 x86_64 mips64 + nsdispatch; + ntohl; + ntohs; + open; + open64; + open_memstream; + open_wmemstream; + openat; + openat64; + opendir; + openlog; + openpty; + optarg; + opterr; + optind; + optopt; + optreset; + pathconf; + pause; + pclose; + perror; + personality; + pipe; + pipe2; + poll; + popen; + posix_fadvise; + posix_fadvise64; + posix_fallocate; + posix_fallocate64; + posix_madvise; + posix_memalign; + posix_openpt; + ppoll; + prctl; + pread; + pread64; + printf; + prlimit; # arm64 x86_64 mips64 + prlimit64; + process_vm_readv; + process_vm_writev; + pselect; + psiginfo; + psignal; + pthread_atfork; + pthread_attr_destroy; + pthread_attr_getdetachstate; + pthread_attr_getguardsize; + pthread_attr_getschedparam; + pthread_attr_getschedpolicy; + pthread_attr_getscope; + pthread_attr_getstack; + pthread_attr_getstacksize; + pthread_attr_init; + pthread_attr_setdetachstate; + pthread_attr_setguardsize; + pthread_attr_setschedparam; + pthread_attr_setschedpolicy; + pthread_attr_setscope; + pthread_attr_setstack; + pthread_attr_setstacksize; + pthread_cond_broadcast; + pthread_cond_destroy; + pthread_cond_init; + pthread_cond_signal; + pthread_cond_timedwait; + pthread_cond_wait; + pthread_condattr_destroy; + pthread_condattr_getclock; + pthread_condattr_getpshared; + pthread_condattr_init; + pthread_condattr_setclock; + pthread_condattr_setpshared; + pthread_create; + pthread_detach; + pthread_equal; + pthread_exit; + pthread_getattr_np; + pthread_getcpuclockid; + pthread_getschedparam; + pthread_getspecific; + pthread_gettid_np; + pthread_join; + pthread_key_create; + pthread_key_delete; + pthread_kill; + pthread_mutex_destroy; + pthread_mutex_init; + pthread_mutex_lock; + pthread_mutex_timedlock; + pthread_mutex_trylock; + pthread_mutex_unlock; + pthread_mutexattr_destroy; + pthread_mutexattr_getpshared; + pthread_mutexattr_gettype; + pthread_mutexattr_init; + pthread_mutexattr_setpshared; + pthread_mutexattr_settype; + pthread_once; + pthread_rwlock_destroy; + pthread_rwlock_init; + pthread_rwlock_rdlock; + pthread_rwlock_timedrdlock; + pthread_rwlock_timedwrlock; + pthread_rwlock_tryrdlock; + pthread_rwlock_trywrlock; + pthread_rwlock_unlock; + pthread_rwlock_wrlock; + pthread_rwlockattr_destroy; + pthread_rwlockattr_getkind_np; + pthread_rwlockattr_getpshared; + pthread_rwlockattr_init; + pthread_rwlockattr_setkind_np; + pthread_rwlockattr_setpshared; + pthread_self; + pthread_setname_np; + pthread_setschedparam; + pthread_setspecific; + pthread_sigmask; + ptrace; + ptsname; + ptsname_r; + putc; + putc_unlocked; + putchar; + putchar_unlocked; + putenv; + puts; + pututline; + putwc; + putwchar; + pwrite; + pwrite64; + qsort; + quick_exit; + raise; + rand; + rand_r; + random; + read; + readahead; + readdir; + readdir64; + readdir64_r; + readdir_r; + readlink; + readlinkat; + readv; + realloc; + realpath; + reboot; + recv; + recvfrom; + recvmmsg; + recvmsg; + regcomp; + regerror; + regexec; + regfree; + remove; + removexattr; + remque; + rename; + renameat; + res_init; + res_mkquery; + res_query; + res_search; + rewind; + rewinddir; + rmdir; + sbrk; + scandir; + scandir64; + scanf; + sched_get_priority_max; + sched_get_priority_min; + sched_getaffinity; + sched_getcpu; + sched_getparam; + sched_getscheduler; + sched_rr_get_interval; + sched_setaffinity; + sched_setparam; + sched_setscheduler; + sched_yield; + seed48; + seekdir; + select; + sem_close; + sem_destroy; + sem_getvalue; + sem_init; + sem_open; + sem_post; + sem_timedwait; + sem_trywait; + sem_unlink; + sem_wait; + send; + sendfile; + sendfile64; + sendmmsg; + sendmsg; + sendto; + setbuf; + setbuffer; + setegid; + setenv; + seteuid; + setfsgid; + setfsuid; + setgid; + setgroups; + sethostname; + setitimer; + setjmp; + setlinebuf; + setlocale; + setlogmask; + setmntent; + setns; + setpgid; + setpgrp; + setpriority; + setprogname; + setregid; + setresgid; + setresuid; + setreuid; + setrlimit; + setrlimit64; + setservent; + setsid; + setsockopt; + setstate; + settimeofday; + setuid; + setutent; + setvbuf; + setxattr; + shutdown; + sigaction; + sigaddset; + sigaltstack; + sigblock; + sigdelset; + sigemptyset; + sigfillset; + siginterrupt; + sigismember; + siglongjmp; + signal; + signalfd; + sigpending; + sigprocmask; + sigqueue; + sigsetjmp; + sigsetmask; + sigsuspend; + sigtimedwait; + sigwait; + sigwaitinfo; + sleep; + snprintf; + socket; + socketpair; + splice; + sprintf; + srand; + srand48; + srandom; + sscanf; + stat; + stat64; + statfs; + statfs64; + statvfs; + statvfs64; + stderr; + stdin; + stdout; + stpcpy; + stpncpy; + strcasecmp; + strcasecmp_l; + strcasestr; + strcat; + strchr; + strcmp; + strcoll; + strcoll_l; + strcpy; + strcspn; + strdup; + strerror; + strerror_l; + strerror_r; + strftime; + strftime_l; + strlcat; + strlcpy; + strlen; + strncasecmp; + strncasecmp_l; + strncat; + strncmp; + strncpy; + strndup; + strnlen; + strpbrk; + strptime; + strrchr; + strsep; + strsignal; + strspn; + strstr; + strtod; + strtof; + strtoimax; + strtok; + strtok_r; + strtol; + strtold; + strtold_l; + strtoll; + strtoll_l; + strtoq; + strtoul; + strtoull; + strtoull_l; + strtoumax; + strtouq; + strxfrm; + strxfrm_l; + swapoff; + swapon; + swprintf; + swscanf; + symlink; + symlinkat; + sync; + sys_siglist; + sys_signame; + syscall; + sysconf; + sysinfo; + syslog; + system; + tcdrain; + tcflow; + tcflush; + tcgetattr; + tcgetpgrp; + tcgetsid; + tcsendbreak; + tcsetattr; + tcsetpgrp; + tdelete; + tdestroy; + tee; + telldir; + tempnam; + tfind; + tgkill; + time; + timegm; + timelocal; + timer_create; + timer_delete; + timer_getoverrun; + timer_gettime; + timer_settime; + timerfd_create; + timerfd_gettime; + timerfd_settime; + times; + timezone; + tmpfile; + tmpnam; + toascii; + tolower; + tolower_l; + toupper; + toupper_l; + towlower; + towlower_l; + towupper; + towupper_l; + truncate; + truncate64; + tsearch; + ttyname; + ttyname_r; + twalk; + tzname; + tzset; + umask; + umount; + umount2; + uname; + ungetc; + ungetwc; + unlink; + unlinkat; + unlockpt; + unsetenv; + unshare; + uselocale; + usleep; + utime; + utimensat; + utimes; + utmpname; + vasprintf; + vdprintf; + verr; + verrx; + vfork; + vfprintf; + vfscanf; + vfwprintf; + vfwscanf; + vmsplice; + vprintf; + vscanf; + vsnprintf; + vsprintf; + vsscanf; + vswprintf; + vswscanf; + vsyslog; + vwarn; + vwarnx; + vwprintf; + vwscanf; + wait; + wait4; + waitid; + waitpid; + warn; + warnx; + wcpcpy; + wcpncpy; + wcrtomb; + wcscasecmp; + wcscasecmp_l; + wcscat; + wcschr; + wcscmp; + wcscoll; + wcscoll_l; + wcscpy; + wcscspn; + wcsdup; + wcsftime; + wcslcat; + wcslcpy; + wcslen; + wcsncasecmp; + wcsncasecmp_l; + wcsncat; + wcsncmp; + wcsncpy; + wcsnlen; + wcsnrtombs; + wcspbrk; + wcsrchr; + wcsrtombs; + wcsspn; + wcsstr; + wcstod; + wcstof; + wcstoimax; + wcstok; + wcstol; + wcstold; + wcstold_l; + wcstoll; + wcstoll_l; + wcstombs; + wcstoul; + wcstoull; + wcstoull_l; + wcstoumax; + wcswidth; + wcsxfrm; + wcsxfrm_l; + wctob; + wctomb; + wctype; + wctype_l; + wcwidth; + wmemchr; + wmemcmp; + wmemcpy; + wmemmove; + wmempcpy; + wmemset; + wprintf; + write; + writev; + wscanf; + local: + *; +}; + +LIBC_N { + global: + __fread_chk; + __fwrite_chk; + __getcwd_chk; + __pwrite_chk; + __pwrite64_chk; + __write_chk; + fileno_unlocked; + getgrgid_r; + getgrnam_r; + preadv; + preadv64; + pthread_barrierattr_destroy; + pthread_barrierattr_getpshared; + pthread_barrierattr_init; + pthread_barrierattr_setpshared; + pthread_barrier_destroy; + pthread_barrier_init; + pthread_barrier_wait; + pthread_spin_destroy; + pthread_spin_init; + pthread_spin_lock; + pthread_spin_trylock; + pthread_spin_unlock; + pwritev; + pwritev64; + scandirat; + scandirat64; + strchrnul; +} LIBC; + +LIBC_PRIVATE { + global: + gMallocLeakZygoteChild; +} LIBC_N; diff --git a/libc/libc.mips64.map b/libc/libc.mips64.map index 763f77ef1..be0bf5b52 100644 --- a/libc/libc.mips64.map +++ b/libc/libc.mips64.map @@ -241,7 +241,7 @@ LIBC { dup3; duplocale; endmntent; - endpwent; + endpwent; # arm arm64 x86 x86_64 mips mips64 nobrillo endservent; endutent; environ; @@ -1182,7 +1182,7 @@ LIBC_N { LIBC_PRIVATE { global: - dlmalloc_inspect_all; - dlmalloc_trim; + dlmalloc_inspect_all; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_trim; # arm arm64 x86 x86_64 mips mips64 nobrillo gMallocLeakZygoteChild; } LIBC_N; diff --git a/libc/libc.x86.brillo.map b/libc/libc.x86.brillo.map new file mode 100644 index 000000000..f66f21ba8 --- /dev/null +++ b/libc/libc.x86.brillo.map @@ -0,0 +1,1275 @@ +# Generated by genversionscripts.py. Do not edit. +LIBC { + global: + __assert; + __assert2; + __b64_ntop; + __b64_pton; + __brk; # arm x86 mips + __cmsg_nxthdr; + __connect; # arm x86 mips + __ctype_get_mb_cur_max; + __cxa_atexit; + __cxa_finalize; + __cxa_thread_atexit_impl; + __divdi3; # arm x86 mips + __dn_comp; + __dn_count_labels; + __dn_skipname; + __epoll_pwait; # arm x86 mips + __errno; + __exit; # arm x86 mips + __fadvise64; # x86 mips + __fbufsize; + __fcntl64; # arm x86 mips + __FD_CLR_chk; + __FD_ISSET_chk; + __FD_SET_chk; + __fgets_chk; + __flbf; + __fp_nquery; + __fp_query; + __fpclassify; + __fpclassifyd; + __fpclassifyf; + __fpclassifyl; + __fpending; + __fpurge; + __freadable; + __fsetlocking; + __fstatfs64; # arm x86 mips + __fwritable; + __get_h_errno; + __getcpu; # arm x86 mips + __getcwd; # arm x86 mips + __getdents64; # arm x86 mips + __getpid; # arm x86 mips + __getpriority; # arm x86 mips + __gnu_basename; + __gnu_strerror_r; + __hostalias; + __ioctl; # arm x86 mips + __isfinite; + __isfinitef; + __isfinitel; + __isinf; + __isinff; + __isinfl; + __isnan; + __isnanf; + __isnanl; + __isnormal; + __isnormalf; + __isnormall; + __isthreaded; + __libc_current_sigrtmax; + __libc_current_sigrtmin; + __libc_init; + __llseek; # arm x86 mips + __loc_aton; + __loc_ntoa; + __memchr_chk; + __memcpy_chk; + __memmove_chk; + __memrchr_chk; + __memset_chk; + __mmap2; # arm x86 mips + __moddi3; # x86 mips + __ns_format_ttl; # arm x86 mips + __ns_get16; # arm x86 mips + __ns_get32; # arm x86 mips + __ns_initparse; # arm x86 mips + __ns_makecanon; # arm x86 mips + __ns_msg_getflag; # arm x86 mips + __ns_name_compress; # arm x86 mips + __ns_name_ntol; # arm x86 mips + __ns_name_ntop; # arm x86 mips + __ns_name_pack; # arm x86 mips + __ns_name_pton; # arm x86 mips + __ns_name_rollback; # arm x86 mips + __ns_name_skip; # arm x86 mips + __ns_name_uncompress; # arm x86 mips + __ns_name_unpack; # arm x86 mips + __ns_parserr; # arm x86 mips + __ns_put16; # arm x86 mips + __ns_put32; # arm x86 mips + __ns_samename; # arm x86 mips + __ns_skiprr; # arm x86 mips + __ns_sprintrr; # arm x86 mips + __ns_sprintrrf; # arm x86 mips + __open_2; + __openat; # arm x86 mips + __openat_2; + __p_cdname; + __p_cdnname; + __p_class; + __p_class_syms; + __p_fqname; + __p_fqnname; + __p_option; + __p_query; + __p_rcode; + __p_secstodate; + __p_time; + __p_type; + __p_type_syms; + __poll_chk; + __popcountsi2; # arm x86 mips + __ppoll; # arm x86 mips + __ppoll_chk; + __pread64_chk; + __pread_chk; + __progname; + __pselect6; # arm x86 mips + __pthread_cleanup_pop; + __pthread_cleanup_push; + __ptrace; # arm x86 mips + __putlong; + __putshort; + __read_chk; + __readlink_chk; + __readlinkat_chk; + __reboot; # arm x86 mips + __recvfrom_chk; + __register_atfork; + __res_close; + __res_dnok; + __res_hnok; + __res_hostalias; + __res_isourserver; + __res_mailok; + __res_nameinquery; + __res_nclose; + __res_ninit; + __res_nmkquery; + __res_nquery; + __res_nquerydomain; + __res_nsearch; + __res_nsend; + __res_ownok; + __res_queriesmatch; + __res_querydomain; + __res_send; + __res_send_setqhook; + __res_send_setrhook; + __rt_sigaction; # arm x86 mips + __rt_sigpending; # arm x86 mips + __rt_sigprocmask; # arm x86 mips + __rt_sigsuspend; # arm x86 mips + __rt_sigtimedwait; # arm x86 mips + __sched_cpualloc; + __sched_cpucount; + __sched_cpufree; + __sched_getaffinity; # arm x86 mips + __sclose; # arm x86 mips + __set_thread_area; # x86 + __set_tid_address; # arm x86 mips + __sF; + __sflags; # arm x86 mips + __sflush; # arm x86 mips + __sfp; # arm x86 mips + __sglue; # arm x86 mips + __sigaction; # arm x86 mips + __signalfd4; # arm x86 mips + __smakebuf; # arm x86 mips + __snprintf_chk; + __socket; # arm x86 mips + __sprintf_chk; + __sread; # arm x86 mips + __srefill; # arm x86 mips + __srget; # arm x86 mips + __sseek; # arm x86 mips + __stack_chk_fail; + __stack_chk_guard; + __statfs64; # arm x86 mips + __stpcpy_chk; + __stpncpy_chk; + __stpncpy_chk2; + __strcat_chk; + __strchr_chk; + __strcpy_chk; + __strlcat_chk; + __strlcpy_chk; + __strlen_chk; + __strncat_chk; + __strncpy_chk; + __strncpy_chk2; + __strrchr_chk; + __swbuf; # arm x86 mips + __swrite; # arm x86 mips + __swsetup; # arm x86 mips + __sym_ntop; + __sym_ntos; + __sym_ston; + __system_properties_init; + __system_property_add; + __system_property_area__; + __system_property_area_init; + __system_property_area_serial; + __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 + __timer_gettime; # arm x86 mips + __timer_settime; # arm x86 mips + __udivdi3; # arm x86 mips + __umask_chk; + __umoddi3; # x86 mips + __vsnprintf_chk; + __vsprintf_chk; + __waitid; # arm x86 mips + _ctype_; + _Exit; + _exit; + _flushlbf; + _fwalk; # arm x86 mips + _getlong; + _getshort; + _longjmp; + _resolv_delete_cache_for_net; + _resolv_flush_cache_for_net; + _resolv_set_nameservers_for_net; + _setjmp; + _tolower; + _tolower_tab_; # arm x86 mips + _toupper; + _toupper_tab_; # arm x86 mips + abort; + abs; + accept; + accept4; + access; + acct; + alarm; + alphasort; + alphasort64; + android_getaddrinfofornet; + android_getaddrinfofornetcontext; + android_gethostbyaddrfornet; + android_gethostbynamefornet; + android_set_abort_message; + arc4random; + arc4random_buf; + arc4random_uniform; + asctime; + asctime64; # arm x86 mips + asctime64_r; # arm x86 mips + asctime_r; + asprintf; + at_quick_exit; + atof; + atoi; + atol; + atoll; + basename; + basename_r; # arm x86 mips + bind; + bindresvport; + brk; + bsearch; + btowc; + bzero; # arm x86 mips + c16rtomb; + c32rtomb; + calloc; + capget; + capset; + cfgetispeed; + cfgetospeed; + cfmakeraw; + cfsetispeed; + cfsetospeed; + cfsetspeed; + chdir; + chmod; + chown; + chroot; + clearenv; + clearerr; + clearerr_unlocked; + clock; + clock_getcpuclockid; + clock_getres; + clock_gettime; + clock_nanosleep; + clock_settime; + clone; + close; + closedir; + closelog; + connect; + creat; + creat64; + ctime; + ctime64; # arm x86 mips + ctime64_r; # arm x86 mips + ctime_r; + daemon; + daylight; + delete_module; + difftime; + dirfd; + dirname; + dirname_r; # arm x86 mips + div; + dn_expand; + dprintf; + drand48; + dup; + dup2; + dup3; + duplocale; + endmntent; + endservent; + endutent; + environ; + epoll_create; + epoll_create1; + epoll_ctl; + epoll_pwait; + epoll_wait; + erand48; + err; + error; + error_at_line; + error_message_count; + error_one_per_line; + error_print_progname; + errx; + ether_aton; + ether_aton_r; + ether_ntoa; + ether_ntoa_r; + eventfd; + eventfd_read; + eventfd_write; + execl; + execle; + execlp; + execv; + execve; + execvp; + execvpe; + exit; + faccessat; + fake_gmtime_r; # arm x86 mips + fake_localtime_r; # arm x86 mips + fallocate; + fallocate64; + fchdir; + fchmod; + fchmodat; + fchown; + fchownat; + fclose; + fcntl; + fdatasync; + fdopen; + fdopendir; + feof; + feof_unlocked; + ferror; + ferror_unlocked; + fflush; + ffs; + fgetc; + fgetln; + fgetpos; + fgets; + fgetwc; + fgetws; + fgetxattr; + fileno; + flistxattr; + flock; + flockfile; + fmemopen; + fnmatch; + fopen; + fork; + forkpty; + fpathconf; + fprintf; + fpurge; + fputc; + fputs; + fputwc; + fputws; + fread; + free; + free_malloc_leak_info; + freeaddrinfo; + freelocale; + fremovexattr; + freopen; + fscanf; + fseek; + fseeko; + fsetpos; + fsetxattr; + fstat; + fstat64; + fstatat; + fstatat64; + fstatfs; + fstatfs64; + fstatvfs; + fstatvfs64; + fsync; + ftell; + ftello; + ftok; + ftruncate; + ftruncate64; + ftrylockfile; + fts_children; + fts_close; + fts_open; + fts_read; + fts_set; + ftw; + ftw64; + funlockfile; + funopen; + futimens; + fwide; + fwprintf; + fwrite; + fwscanf; + gai_strerror; + get_avphys_pages; + get_malloc_leak_info; + get_nprocs; + get_nprocs_conf; + get_phys_pages; + getaddrinfo; + getauxval; + getc; + getc_unlocked; + getchar; + getchar_unlocked; + getcwd; + getdelim; + getegid; + getenv; + geteuid; + getgid; + getgrgid; + getgrnam; + getgrouplist; + getgroups; + gethostbyaddr; + gethostbyaddr_r; + gethostbyname; + gethostbyname2; + gethostbyname2_r; + gethostbyname_r; + gethostent; + gethostname; + getitimer; + getline; + getlogin; + getmntent; + getmntent_r; + getnameinfo; + getnetbyaddr; + getnetbyname; + getopt; + getopt_long; + getopt_long_only; + getpagesize; + getpeername; + getpgid; + getpgrp; + getpid; + getppid; + getpriority; + getprogname; + getprotobyname; + getprotobynumber; + getpt; + getpwnam; + getpwnam_r; + getpwuid; + getpwuid_r; + getresgid; + getresuid; + getrlimit; + getrlimit64; + getrusage; + gets; + getservbyname; + getservbyport; + getservent; + getsid; + getsockname; + getsockopt; + gettid; + gettimeofday; + getuid; + getutent; + getwc; + getwchar; + getxattr; + gmtime; + gmtime64; # arm x86 mips + gmtime64_r; # arm x86 mips + gmtime_r; + grantpt; + herror; + hstrerror; + htonl; + htons; + if_indextoname; + if_nametoindex; + imaxabs; + imaxdiv; + inet_addr; + inet_aton; + inet_lnaof; + inet_makeaddr; + inet_netof; + inet_network; + inet_nsap_addr; + inet_nsap_ntoa; + inet_ntoa; + inet_ntop; + inet_pton; + init_module; + initgroups; + initstate; + inotify_add_watch; + inotify_init; + inotify_init1; + inotify_rm_watch; + insque; + ioctl; + isalnum; + isalnum_l; + isalpha; + isalpha_l; + isascii; + isatty; + isblank; + isblank_l; + iscntrl; + iscntrl_l; + isdigit; + isdigit_l; + isfinite; + isfinitef; + isfinitel; + isgraph; + isgraph_l; + isinf; + isinff; + isinfl; + islower; + islower_l; + isnan; + isnanf; + isnanl; + isnormal; + isnormalf; + isnormall; + isprint; + isprint_l; + ispunct; + ispunct_l; + isspace; + isspace_l; + isupper; + isupper_l; + iswalnum; + iswalnum_l; + iswalpha; + iswalpha_l; + iswblank; + iswblank_l; + iswcntrl; + iswcntrl_l; + iswctype; + iswctype_l; + iswdigit; + iswdigit_l; + iswgraph; + iswgraph_l; + iswlower; + iswlower_l; + iswprint; + iswprint_l; + iswpunct; + iswpunct_l; + iswspace; + iswspace_l; + iswupper; + iswupper_l; + iswxdigit; + iswxdigit_l; + isxdigit; + isxdigit_l; + jrand48; + kill; + killpg; + klogctl; + labs; + lchown; + lcong48; + ldexp; + ldiv; + lfind; + lgetxattr; + link; + linkat; + listen; + listxattr; + llabs; + lldiv; + llistxattr; + localeconv; + localtime; + localtime64; # arm x86 mips + localtime64_r; # arm x86 mips + localtime_r; + login_tty; + longjmp; + lrand48; + lremovexattr; + lsearch; + lseek; + lseek64; + lsetxattr; + lstat; + lstat64; + madvise; + mallinfo; + malloc; + malloc_info; + malloc_usable_size; + mbrlen; + mbrtoc16; + mbrtoc32; + mbrtowc; + mbsinit; + mbsnrtowcs; + mbsrtowcs; + mbstowcs; + mbtowc; + memalign; + memccpy; + memchr; + memcmp; + memcpy; + memmem; + memmove; + mempcpy; + memrchr; + memset; + mincore; + mkdir; + mkdirat; + mkdtemp; + mkfifo; + mkfifoat; + mknod; + mknodat; + mkostemp; + mkostemp64; + mkostemps; + mkostemps64; + mkstemp; + mkstemp64; + mkstemps; + mkstemps64; + mktemp; + mktime; + mktime64; # arm x86 mips + mktime_tz; + mlock; + mlockall; + mmap; + mmap64; + mount; + mprotect; + mrand48; + mremap; + msync; + munlock; + munlockall; + munmap; + nanosleep; + newlocale; + nftw; + nftw64; + nice; + nrand48; + nsdispatch; + ntohl; + ntohs; + open; + open64; + open_memstream; + open_wmemstream; + openat; + openat64; + opendir; + openlog; + openpty; + optarg; + opterr; + optind; + optopt; + optreset; + pathconf; + pause; + pclose; + perror; + personality; + pipe; + pipe2; + poll; + popen; + posix_fadvise; + posix_fadvise64; + posix_fallocate; + posix_fallocate64; + posix_madvise; + posix_memalign; + posix_openpt; + ppoll; + prctl; + pread; + pread64; + printf; + prlimit64; + process_vm_readv; + process_vm_writev; + pselect; + psiginfo; + psignal; + pthread_atfork; + pthread_attr_destroy; + pthread_attr_getdetachstate; + pthread_attr_getguardsize; + pthread_attr_getschedparam; + pthread_attr_getschedpolicy; + pthread_attr_getscope; + pthread_attr_getstack; + pthread_attr_getstacksize; + pthread_attr_init; + pthread_attr_setdetachstate; + pthread_attr_setguardsize; + pthread_attr_setschedparam; + pthread_attr_setschedpolicy; + pthread_attr_setscope; + pthread_attr_setstack; + pthread_attr_setstacksize; + pthread_cond_broadcast; + pthread_cond_destroy; + pthread_cond_init; + pthread_cond_signal; + pthread_cond_timedwait; + pthread_cond_timedwait_monotonic; # arm x86 mips + pthread_cond_timedwait_monotonic_np; # arm x86 mips + pthread_cond_timedwait_relative_np; # arm x86 mips + pthread_cond_timeout_np; # arm x86 mips + pthread_cond_wait; + pthread_condattr_destroy; + pthread_condattr_getclock; + pthread_condattr_getpshared; + pthread_condattr_init; + pthread_condattr_setclock; + pthread_condattr_setpshared; + pthread_create; + pthread_detach; + pthread_equal; + pthread_exit; + pthread_getattr_np; + pthread_getcpuclockid; + pthread_getschedparam; + pthread_getspecific; + pthread_gettid_np; + pthread_join; + pthread_key_create; + pthread_key_delete; + pthread_kill; + pthread_mutex_destroy; + pthread_mutex_init; + pthread_mutex_lock; + pthread_mutex_lock_timeout_np; # arm x86 mips + pthread_mutex_timedlock; + pthread_mutex_trylock; + pthread_mutex_unlock; + pthread_mutexattr_destroy; + pthread_mutexattr_getpshared; + pthread_mutexattr_gettype; + pthread_mutexattr_init; + pthread_mutexattr_setpshared; + pthread_mutexattr_settype; + pthread_once; + pthread_rwlock_destroy; + pthread_rwlock_init; + pthread_rwlock_rdlock; + pthread_rwlock_timedrdlock; + pthread_rwlock_timedwrlock; + pthread_rwlock_tryrdlock; + pthread_rwlock_trywrlock; + pthread_rwlock_unlock; + pthread_rwlock_wrlock; + pthread_rwlockattr_destroy; + pthread_rwlockattr_getkind_np; + pthread_rwlockattr_getpshared; + pthread_rwlockattr_init; + pthread_rwlockattr_setkind_np; + pthread_rwlockattr_setpshared; + pthread_self; + pthread_setname_np; + pthread_setschedparam; + pthread_setspecific; + pthread_sigmask; + ptrace; + ptsname; + ptsname_r; + putc; + putc_unlocked; + putchar; + putchar_unlocked; + putenv; + puts; + pututline; + putw; # arm x86 mips + putwc; + putwchar; + pvalloc; # arm x86 mips + pwrite; + pwrite64; + qsort; + quick_exit; + raise; + rand; + rand_r; + random; + read; + readahead; + readdir; + readdir64; + readdir64_r; + readdir_r; + readlink; + readlinkat; + readv; + realloc; + realpath; + reboot; + recv; + recvfrom; + recvmmsg; + recvmsg; + regcomp; + regerror; + regexec; + regfree; + remove; + removexattr; + remque; + rename; + renameat; + res_init; + res_mkquery; + res_query; + res_search; + rewind; + rewinddir; + rmdir; + sbrk; + scandir; + scandir64; + scanf; + sched_get_priority_max; + sched_get_priority_min; + sched_getaffinity; + sched_getcpu; + sched_getparam; + sched_getscheduler; + sched_rr_get_interval; + sched_setaffinity; + sched_setparam; + sched_setscheduler; + sched_yield; + seed48; + seekdir; + select; + sem_close; + sem_destroy; + sem_getvalue; + sem_init; + sem_open; + sem_post; + sem_timedwait; + sem_trywait; + sem_unlink; + sem_wait; + send; + sendfile; + sendfile64; + sendmmsg; + sendmsg; + sendto; + setbuf; + setbuffer; + setegid; + setenv; + seteuid; + setfsgid; + setfsuid; + setgid; + setgroups; + sethostname; + setitimer; + setjmp; + setlinebuf; + setlocale; + setlogmask; + setmntent; + setns; + setpgid; + setpgrp; + setpriority; + setprogname; + setregid; + setresgid; + setresuid; + setreuid; + setrlimit; + setrlimit64; + setservent; + setsid; + setsockopt; + setstate; + settimeofday; + setuid; + setutent; + setvbuf; + setxattr; + shutdown; + sigaction; + sigaddset; + sigaltstack; + sigblock; + sigdelset; + sigemptyset; + sigfillset; + siginterrupt; + sigismember; + siglongjmp; + signal; + signalfd; + sigpending; + sigprocmask; + sigqueue; + sigsetjmp; + sigsetmask; + sigsuspend; + sigtimedwait; + sigwait; + sigwaitinfo; + sleep; + snprintf; + socket; + socketpair; + splice; + sprintf; + srand; + srand48; + srandom; + sscanf; + stat; + stat64; + statfs; + statfs64; + statvfs; + statvfs64; + stderr; + stdin; + stdout; + stpcpy; + stpncpy; + strcasecmp; + strcasecmp_l; + strcasestr; + strcat; + strchr; + strcmp; + strcoll; + strcoll_l; + strcpy; + strcspn; + strdup; + strerror; + strerror_l; + strerror_r; + strftime; + strftime_l; + strlcat; + strlcpy; + strlen; + strncasecmp; + strncasecmp_l; + strncat; + strncmp; + strncpy; + strndup; + strnlen; + strpbrk; + strptime; + strrchr; + strsep; + strsignal; + strspn; + strstr; + strtod; + strtof; + strtoimax; + strtok; + strtok_r; + strtol; + strtold; + strtold_l; + strtoll; + strtoll_l; + strtoq; + strtoul; + strtoull; + strtoull_l; + strtoumax; + strtouq; + strxfrm; + strxfrm_l; + swapoff; + swapon; + swprintf; + swscanf; + symlink; + symlinkat; + sync; + sys_siglist; + sys_signame; + syscall; + sysconf; + sysinfo; + syslog; + system; + tcdrain; + tcflow; + tcflush; + tcgetattr; + tcgetpgrp; + tcgetsid; + tcsendbreak; + tcsetattr; + tcsetpgrp; + tdelete; + tdestroy; + tee; + telldir; + tempnam; + tfind; + tgkill; + time; + timegm; + timegm64; # arm x86 mips + timelocal; + timelocal64; # arm x86 mips + timer_create; + timer_delete; + timer_getoverrun; + timer_gettime; + timer_settime; + timerfd_create; + timerfd_gettime; + timerfd_settime; + times; + timezone; + tmpfile; + tmpnam; + toascii; + tolower; + tolower_l; + toupper; + toupper_l; + towlower; + towlower_l; + towupper; + towupper_l; + truncate; + truncate64; + tsearch; + ttyname; + ttyname_r; + twalk; + tzname; + tzset; + umask; + umount; + umount2; + uname; + ungetc; + ungetwc; + unlink; + unlinkat; + unlockpt; + unsetenv; + unshare; + uselocale; + usleep; + utime; + utimensat; + utimes; + utmpname; + valloc; # arm x86 mips + vasprintf; + vdprintf; + verr; + verrx; + vfork; + vfprintf; + vfscanf; + vfwprintf; + vfwscanf; + vmsplice; + vprintf; + vscanf; + vsnprintf; + vsprintf; + vsscanf; + vswprintf; + vswscanf; + vsyslog; + vwarn; + vwarnx; + vwprintf; + vwscanf; + wait; + wait4; + waitid; + waitpid; + warn; + warnx; + wcpcpy; + wcpncpy; + wcrtomb; + wcscasecmp; + wcscasecmp_l; + wcscat; + wcschr; + wcscmp; + wcscoll; + wcscoll_l; + wcscpy; + wcscspn; + wcsdup; + wcsftime; + wcslcat; + wcslcpy; + wcslen; + wcsncasecmp; + wcsncasecmp_l; + wcsncat; + wcsncmp; + wcsncpy; + wcsnlen; + wcsnrtombs; + wcspbrk; + wcsrchr; + wcsrtombs; + wcsspn; + wcsstr; + wcstod; + wcstof; + wcstoimax; + wcstok; + wcstol; + wcstold; + wcstold_l; + wcstoll; + wcstoll_l; + wcstombs; + wcstoul; + wcstoull; + wcstoull_l; + wcstoumax; + wcswidth; + wcsxfrm; + wcsxfrm_l; + wctob; + wctomb; + wctype; + wctype_l; + wcwidth; + wmemchr; + wmemcmp; + wmemcpy; + wmemmove; + wmempcpy; + wmemset; + wprintf; + write; + writev; + wscanf; + local: + *; +}; + +LIBC_N { + global: + __fread_chk; + __fwrite_chk; + __getcwd_chk; + __pwrite_chk; + __pwrite64_chk; + __write_chk; + fileno_unlocked; + getgrgid_r; + getgrnam_r; + preadv; + preadv64; + prlimit; # arm mips x86 + pthread_barrierattr_destroy; + pthread_barrierattr_getpshared; + pthread_barrierattr_init; + pthread_barrierattr_setpshared; + pthread_barrier_destroy; + pthread_barrier_init; + pthread_barrier_wait; + pthread_spin_destroy; + pthread_spin_init; + pthread_spin_lock; + pthread_spin_trylock; + pthread_spin_unlock; + pwritev; + pwritev64; + scandirat; + scandirat64; + strchrnul; +} LIBC; + +LIBC_PRIVATE { + global: + __accept4; # arm x86 mips + __bionic_brk; # arm x86 mips + __bionic_libgcc_compat_symbols; # arm x86 + gMallocLeakZygoteChild; + SHA1Final; # arm x86 mips + SHA1Init; # arm x86 mips + SHA1Transform; # arm x86 mips + SHA1Update; # arm x86 mips +} LIBC_N; diff --git a/libc/libc.x86.map b/libc/libc.x86.map index 6578370ee..93927c057 100644 --- a/libc/libc.x86.map +++ b/libc/libc.x86.map @@ -38,12 +38,12 @@ LIBC { __freadable; __fsetlocking; __fstatfs64; # arm x86 mips - __futex_wait; # arm x86 mips - __futex_wake; # arm x86 mips + __futex_wait; # arm x86 mips nobrillo + __futex_wake; # arm x86 mips nobrillo __fwritable; __get_h_errno; - __get_thread; # arm x86 mips - __get_tls; # arm x86 mips + __get_thread; # arm x86 mips nobrillo + __get_tls; # arm x86 mips nobrillo __getcpu; # arm x86 mips __getcwd; # arm x86 mips __getdents64; # arm x86 mips @@ -101,7 +101,7 @@ LIBC { __ns_skiprr; # arm x86 mips __ns_sprintrr; # arm x86 mips __ns_sprintrrf; # arm x86 mips - __open; # arm x86 mips + __open; # arm x86 mips nobrillo __open_2; __openat; # arm x86 mips __openat_2; @@ -118,8 +118,8 @@ LIBC { __p_time; __p_type; __p_type_syms; - __page_shift; # arm x86 mips - __page_size; # arm x86 mips + __page_shift; # arm x86 mips nobrillo + __page_size; # arm x86 mips nobrillo __poll_chk; __popcountsi2; # arm x86 mips __ppoll; # arm x86 mips @@ -130,7 +130,7 @@ LIBC { __pselect6; # arm x86 mips __pthread_cleanup_pop; __pthread_cleanup_push; - __pthread_gettid; # arm x86 mips + __pthread_gettid; # arm x86 mips nobrillo __ptrace; # arm x86 mips __putlong; __putshort; @@ -170,8 +170,8 @@ LIBC { __sched_cpufree; __sched_getaffinity; # arm x86 mips __sclose; # arm x86 mips - __sdidinit; # arm x86 mips - __set_errno; # arm x86 mips + __sdidinit; # arm x86 mips nobrillo + __set_errno; # arm x86 mips nobrillo __set_thread_area; # x86 __set_tid_address; # arm x86 mips __sF; @@ -181,7 +181,7 @@ LIBC { __sglue; # arm x86 mips __sigaction; # arm x86 mips __signalfd4; # arm x86 mips - __sinit; # arm x86 mips + __sinit; # arm x86 mips nobrillo __smakebuf; # arm x86 mips __snprintf_chk; __socket; # arm x86 mips @@ -237,7 +237,7 @@ LIBC { __umoddi3; # x86 mips __vsnprintf_chk; __vsprintf_chk; - __wait4; # arm x86 mips + __wait4; # arm x86 mips nobrillo __waitid; # arm x86 mips _ctype_; _Exit; @@ -270,9 +270,9 @@ LIBC { android_gethostbynamefornet; android_set_abort_message; arc4random; - arc4random_addrandom; # arm x86 mips + arc4random_addrandom; # arm x86 mips nobrillo arc4random_buf; - arc4random_stir; # arm x86 mips + arc4random_stir; # arm x86 mips nobrillo arc4random_uniform; asctime; asctime64; # arm x86 mips @@ -286,11 +286,11 @@ LIBC { atoll; basename; basename_r; # arm x86 mips - bcopy; # arm x86 mips + bcopy; # arm x86 mips nobrillo bind; bindresvport; brk; - bsd_signal; # arm x86 mips + bsd_signal; # arm x86 mips nobrillo bsearch; btowc; bzero; # arm x86 mips @@ -345,7 +345,7 @@ LIBC { dup3; duplocale; endmntent; - endpwent; + endpwent; # arm arm64 x86 x86_64 mips mips64 nobrillo endservent; endutent; environ; @@ -392,7 +392,7 @@ LIBC { fdatasync; fdopen; fdopendir; - fdprintf; # arm x86 mips + fdprintf; # arm x86 mips nobrillo feof; feof_unlocked; ferror; @@ -445,7 +445,7 @@ LIBC { fsync; ftell; ftello; - ftime; # arm x86 mips + ftime; # arm x86 mips nobrillo ftok; ftruncate; ftruncate64; @@ -478,8 +478,8 @@ LIBC { getchar_unlocked; getcwd; getdelim; - getdents; # arm x86 mips - getdtablesize; # arm x86 mips + getdents; # arm x86 mips nobrillo + getdtablesize; # arm x86 mips nobrillo getegid; getenv; geteuid; @@ -554,7 +554,7 @@ LIBC { if_nametoindex; imaxabs; imaxdiv; - index; # arm x86 mips + index; # arm x86 mips nobrillo inet_addr; inet_aton; inet_lnaof; @@ -607,7 +607,7 @@ LIBC { isprint_l; ispunct; ispunct_l; - issetugid; # arm x86 mips + issetugid; # arm x86 mips nobrillo isspace; isspace_l; isupper; @@ -697,7 +697,7 @@ LIBC { mempcpy; memrchr; memset; - memswap; # arm x86 mips + memswap; # arm x86 mips nobrillo mincore; mkdir; mkdirat; @@ -788,7 +788,7 @@ LIBC { pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_getstack; - pthread_attr_getstackaddr; # arm x86 mips + pthread_attr_getstackaddr; # arm x86 mips nobrillo pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate; @@ -797,7 +797,7 @@ LIBC { pthread_attr_setschedpolicy; pthread_attr_setscope; pthread_attr_setstack; - pthread_attr_setstackaddr; # arm x86 mips + pthread_attr_setstackaddr; # arm x86 mips nobrillo pthread_attr_setstacksize; pthread_cond_broadcast; pthread_cond_destroy; @@ -1055,8 +1055,8 @@ LIBC { strncpy; strndup; strnlen; - strntoimax; # arm x86 mips - strntoumax; # arm x86 mips + strntoimax; # arm x86 mips nobrillo + strntoumax; # arm x86 mips nobrillo strpbrk; strptime; strrchr; @@ -1075,7 +1075,7 @@ LIBC { strtoll; strtoll_l; strtoq; - strtotimeval; # arm x86 mips + strtotimeval; # arm x86 mips nobrillo strtoul; strtoull; strtoull_l; @@ -1097,7 +1097,7 @@ LIBC { sysinfo; syslog; system; - sysv_signal; # arm x86 mips + sysv_signal; # arm x86 mips nobrillo tcdrain; tcflow; tcflush; @@ -1129,7 +1129,7 @@ LIBC { timerfd_settime; times; timezone; - tkill; # arm x86 mips + tkill; # arm x86 mips nobrillo tmpfile; tmpnam; toascii; @@ -1171,7 +1171,7 @@ LIBC { vdprintf; verr; verrx; - vfdprintf; # arm x86 mips + vfdprintf; # arm x86 mips nobrillo vfork; vfprintf; vfscanf; @@ -1191,7 +1191,7 @@ LIBC { vwprintf; vwscanf; wait; - wait3; # arm x86 mips + wait3; # arm x86 mips nobrillo wait4; waitid; waitpid; @@ -1240,7 +1240,7 @@ LIBC { wcstoull; wcstoull_l; wcstoumax; - wcswcs; # arm x86 mips + wcswcs; # arm x86 mips nobrillo wcswidth; wcsxfrm; wcsxfrm_l; @@ -1301,10 +1301,10 @@ LIBC_PRIVATE { __accept4; # arm x86 mips __bionic_brk; # arm x86 mips __bionic_libgcc_compat_symbols; # arm x86 - dlmalloc; # arm x86 mips - dlmalloc_inspect_all; - dlmalloc_trim; - dlmalloc_usable_size; # arm x86 mips + dlmalloc; # arm x86 mips nobrillo + dlmalloc_inspect_all; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_trim; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_usable_size; # arm x86 mips nobrillo gMallocLeakZygoteChild; SHA1Final; # arm x86 mips SHA1Init; # arm x86 mips diff --git a/libc/libc.x86_64.brillo.map b/libc/libc.x86_64.brillo.map new file mode 100644 index 000000000..8fa46a84c --- /dev/null +++ b/libc/libc.x86_64.brillo.map @@ -0,0 +1,1185 @@ +# Generated by genversionscripts.py. Do not edit. +LIBC { + global: + __assert; + __assert2; + __b64_ntop; + __b64_pton; + __cmsg_nxthdr; + __ctype_get_mb_cur_max; + __cxa_atexit; + __cxa_finalize; + __cxa_thread_atexit_impl; + __dn_comp; + __dn_count_labels; + __dn_skipname; + __errno; + __fbufsize; + __FD_CLR_chk; + __FD_ISSET_chk; + __FD_SET_chk; + __fgets_chk; + __flbf; + __fp_nquery; + __fp_query; + __fpclassify; + __fpclassifyd; + __fpclassifyf; + __fpclassifyl; + __fpending; + __fpurge; + __freadable; + __fsetlocking; + __fwritable; + __get_h_errno; + __gnu_basename; + __gnu_strerror_r; + __hostalias; + __isfinite; + __isfinitef; + __isfinitel; + __isinf; + __isinff; + __isinfl; + __isnan; + __isnanf; + __isnanl; + __isnormal; + __isnormalf; + __isnormall; + __isthreaded; + __libc_current_sigrtmax; + __libc_current_sigrtmin; + __libc_init; + __loc_aton; + __loc_ntoa; + __memchr_chk; + __memcpy_chk; + __memmove_chk; + __memrchr_chk; + __memset_chk; + __open_2; + __openat_2; + __p_cdname; + __p_cdnname; + __p_class; + __p_class_syms; + __p_fqname; + __p_fqnname; + __p_option; + __p_query; + __p_rcode; + __p_secstodate; + __p_time; + __p_type; + __p_type_syms; + __poll_chk; + __ppoll_chk; + __pread64_chk; + __pread_chk; + __progname; + __pthread_cleanup_pop; + __pthread_cleanup_push; + __putlong; + __putshort; + __read_chk; + __readlink_chk; + __readlinkat_chk; + __recvfrom_chk; + __register_atfork; + __res_close; + __res_dnok; + __res_hnok; + __res_hostalias; + __res_isourserver; + __res_mailok; + __res_nameinquery; + __res_nclose; + __res_ninit; + __res_nmkquery; + __res_nquery; + __res_nquerydomain; + __res_nsearch; + __res_nsend; + __res_ownok; + __res_queriesmatch; + __res_querydomain; + __res_send; + __res_send_setqhook; + __res_send_setrhook; + __sched_cpualloc; + __sched_cpucount; + __sched_cpufree; + __sF; + __snprintf_chk; + __sprintf_chk; + __stack_chk_fail; + __stack_chk_guard; + __stpcpy_chk; + __stpncpy_chk; + __stpncpy_chk2; + __strcat_chk; + __strchr_chk; + __strcpy_chk; + __strlcat_chk; + __strlcpy_chk; + __strlen_chk; + __strncat_chk; + __strncpy_chk; + __strncpy_chk2; + __strrchr_chk; + __sym_ntop; + __sym_ntos; + __sym_ston; + __system_properties_init; + __system_property_add; + __system_property_area__; + __system_property_area_init; + __system_property_area_serial; + __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; + __umask_chk; + __vsnprintf_chk; + __vsprintf_chk; + _ctype_; + _Exit; + _exit; + _flushlbf; + _getlong; + _getshort; + _longjmp; + _resolv_delete_cache_for_net; + _resolv_flush_cache_for_net; + _resolv_set_nameservers_for_net; + _setjmp; + _tolower; + _toupper; + abort; + abs; + accept; + accept4; + access; + acct; + alarm; + alphasort; + alphasort64; + android_getaddrinfofornet; + android_getaddrinfofornetcontext; + android_gethostbyaddrfornet; + android_gethostbynamefornet; + android_set_abort_message; + arc4random; + arc4random_buf; + arc4random_uniform; + asctime; + asctime_r; + asprintf; + at_quick_exit; + atof; + atoi; + atol; + atoll; + basename; + bind; + bindresvport; + brk; + bsearch; + btowc; + c16rtomb; + c32rtomb; + calloc; + capget; + capset; + cfgetispeed; + cfgetospeed; + cfmakeraw; + cfsetispeed; + cfsetospeed; + cfsetspeed; + chdir; + chmod; + chown; + chroot; + clearenv; + clearerr; + clearerr_unlocked; + clock; + clock_getcpuclockid; + clock_getres; + clock_gettime; + clock_nanosleep; + clock_settime; + clone; + close; + closedir; + closelog; + connect; + creat; + creat64; + ctime; + ctime_r; + daemon; + daylight; + delete_module; + difftime; + dirfd; + dirname; + div; + dn_expand; + dprintf; + drand48; + dup; + dup2; + dup3; + duplocale; + endmntent; + endservent; + endutent; + environ; + epoll_create; + epoll_create1; + epoll_ctl; + epoll_pwait; + epoll_wait; + erand48; + err; + error; + error_at_line; + error_message_count; + error_one_per_line; + error_print_progname; + errx; + ether_aton; + ether_aton_r; + ether_ntoa; + ether_ntoa_r; + eventfd; + eventfd_read; + eventfd_write; + execl; + execle; + execlp; + execv; + execve; + execvp; + execvpe; + exit; + faccessat; + fallocate; + fallocate64; + fchdir; + fchmod; + fchmodat; + fchown; + fchownat; + fclose; + fcntl; + fdatasync; + fdopen; + fdopendir; + feof; + feof_unlocked; + ferror; + ferror_unlocked; + fflush; + ffs; + fgetc; + fgetln; + fgetpos; + fgets; + fgetwc; + fgetws; + fgetxattr; + fileno; + flistxattr; + flock; + flockfile; + fmemopen; + fnmatch; + fopen; + fork; + forkpty; + fpathconf; + fprintf; + fpurge; + fputc; + fputs; + fputwc; + fputws; + fread; + free; + free_malloc_leak_info; + freeaddrinfo; + freelocale; + fremovexattr; + freopen; + fscanf; + fseek; + fseeko; + fsetpos; + fsetxattr; + fstat; + fstat64; + fstatat; + fstatat64; + fstatfs; + fstatfs64; + fstatvfs; + fstatvfs64; + fsync; + ftell; + ftello; + ftok; + ftruncate; + ftruncate64; + ftrylockfile; + fts_children; + fts_close; + fts_open; + fts_read; + fts_set; + ftw; + ftw64; + funlockfile; + funopen; + futimens; + fwide; + fwprintf; + fwrite; + fwscanf; + gai_strerror; + get_avphys_pages; + get_malloc_leak_info; + get_nprocs; + get_nprocs_conf; + get_phys_pages; + getaddrinfo; + getauxval; + getc; + getc_unlocked; + getchar; + getchar_unlocked; + getcwd; + getdelim; + getegid; + getenv; + geteuid; + getgid; + getgrgid; + getgrnam; + getgrouplist; + getgroups; + gethostbyaddr; + gethostbyaddr_r; + gethostbyname; + gethostbyname2; + gethostbyname2_r; + gethostbyname_r; + gethostent; + gethostname; + getitimer; + getline; + getlogin; + getmntent; + getmntent_r; + getnameinfo; + getnetbyaddr; + getnetbyname; + getopt; + getopt_long; + getopt_long_only; + getpagesize; + getpeername; + getpgid; + getpgrp; + getpid; + getppid; + getpriority; + getprogname; + getprotobyname; + getprotobynumber; + getpt; + getpwnam; + getpwnam_r; + getpwuid; + getpwuid_r; + getresgid; + getresuid; + getrlimit; + getrlimit64; + getrusage; + gets; + getservbyname; + getservbyport; + getservent; + getsid; + getsockname; + getsockopt; + gettid; + gettimeofday; + getuid; + getutent; + getwc; + getwchar; + getxattr; + gmtime; + gmtime_r; + grantpt; + herror; + hstrerror; + htonl; + htons; + if_indextoname; + if_nametoindex; + imaxabs; + imaxdiv; + inet_addr; + inet_aton; + inet_lnaof; + inet_makeaddr; + inet_netof; + inet_network; + inet_nsap_addr; + inet_nsap_ntoa; + inet_ntoa; + inet_ntop; + inet_pton; + init_module; + initgroups; + initstate; + inotify_add_watch; + inotify_init; + inotify_init1; + inotify_rm_watch; + insque; + ioctl; + isalnum; + isalnum_l; + isalpha; + isalpha_l; + isascii; + isatty; + isblank; + isblank_l; + iscntrl; + iscntrl_l; + isdigit; + isdigit_l; + isfinite; + isfinitef; + isfinitel; + isgraph; + isgraph_l; + isinf; + isinff; + isinfl; + islower; + islower_l; + isnan; + isnanf; + isnanl; + isnormal; + isnormalf; + isnormall; + isprint; + isprint_l; + ispunct; + ispunct_l; + isspace; + isspace_l; + isupper; + isupper_l; + iswalnum; + iswalnum_l; + iswalpha; + iswalpha_l; + iswblank; + iswblank_l; + iswcntrl; + iswcntrl_l; + iswctype; + iswctype_l; + iswdigit; + iswdigit_l; + iswgraph; + iswgraph_l; + iswlower; + iswlower_l; + iswprint; + iswprint_l; + iswpunct; + iswpunct_l; + iswspace; + iswspace_l; + iswupper; + iswupper_l; + iswxdigit; + iswxdigit_l; + isxdigit; + isxdigit_l; + jrand48; + kill; + killpg; + klogctl; + labs; + lchown; + lcong48; + ldexp; + ldiv; + lfind; + lgetxattr; + link; + linkat; + listen; + listxattr; + llabs; + lldiv; + llistxattr; + localeconv; + localtime; + localtime_r; + login_tty; + longjmp; + lrand48; + lremovexattr; + lsearch; + lseek; + lseek64; + lsetxattr; + lstat; + lstat64; + madvise; + mallinfo; + malloc; + malloc_info; + malloc_usable_size; + mbrlen; + mbrtoc16; + mbrtoc32; + mbrtowc; + mbsinit; + mbsnrtowcs; + mbsrtowcs; + mbstowcs; + mbtowc; + memalign; + memccpy; + memchr; + memcmp; + memcpy; + memmem; + memmove; + mempcpy; + memrchr; + memset; + mincore; + mkdir; + mkdirat; + mkdtemp; + mkfifo; + mkfifoat; + mknod; + mknodat; + mkostemp; + mkostemp64; + mkostemps; + mkostemps64; + mkstemp; + mkstemp64; + mkstemps; + mkstemps64; + mktemp; + mktime; + mktime_tz; + mlock; + mlockall; + mmap; + mmap64; + mount; + mprotect; + mrand48; + mremap; + msync; + munlock; + munlockall; + munmap; + nanosleep; + newlocale; + nftw; + nftw64; + nice; + nrand48; + ns_format_ttl; # arm64 x86_64 mips64 + ns_get16; # arm64 x86_64 mips64 + ns_get32; # arm64 x86_64 mips64 + ns_initparse; # arm64 x86_64 mips64 + ns_makecanon; # arm64 x86_64 mips64 + ns_msg_getflag; # arm64 x86_64 mips64 + ns_name_compress; # arm64 x86_64 mips64 + ns_name_ntol; # arm64 x86_64 mips64 + ns_name_ntop; # arm64 x86_64 mips64 + ns_name_pack; # arm64 x86_64 mips64 + ns_name_pton; # arm64 x86_64 mips64 + ns_name_rollback; # arm64 x86_64 mips64 + ns_name_skip; # arm64 x86_64 mips64 + ns_name_uncompress; # arm64 x86_64 mips64 + ns_name_unpack; # arm64 x86_64 mips64 + ns_parserr; # arm64 x86_64 mips64 + ns_put16; # arm64 x86_64 mips64 + ns_put32; # arm64 x86_64 mips64 + ns_samename; # arm64 x86_64 mips64 + ns_skiprr; # arm64 x86_64 mips64 + ns_sprintrr; # arm64 x86_64 mips64 + ns_sprintrrf; # arm64 x86_64 mips64 + nsdispatch; + ntohl; + ntohs; + open; + open64; + open_memstream; + open_wmemstream; + openat; + openat64; + opendir; + openlog; + openpty; + optarg; + opterr; + optind; + optopt; + optreset; + pathconf; + pause; + pclose; + perror; + personality; + pipe; + pipe2; + poll; + popen; + posix_fadvise; + posix_fadvise64; + posix_fallocate; + posix_fallocate64; + posix_madvise; + posix_memalign; + posix_openpt; + ppoll; + prctl; + pread; + pread64; + printf; + prlimit; # arm64 x86_64 mips64 + prlimit64; + process_vm_readv; + process_vm_writev; + pselect; + psiginfo; + psignal; + pthread_atfork; + pthread_attr_destroy; + pthread_attr_getdetachstate; + pthread_attr_getguardsize; + pthread_attr_getschedparam; + pthread_attr_getschedpolicy; + pthread_attr_getscope; + pthread_attr_getstack; + pthread_attr_getstacksize; + pthread_attr_init; + pthread_attr_setdetachstate; + pthread_attr_setguardsize; + pthread_attr_setschedparam; + pthread_attr_setschedpolicy; + pthread_attr_setscope; + pthread_attr_setstack; + pthread_attr_setstacksize; + pthread_cond_broadcast; + pthread_cond_destroy; + pthread_cond_init; + pthread_cond_signal; + pthread_cond_timedwait; + pthread_cond_wait; + pthread_condattr_destroy; + pthread_condattr_getclock; + pthread_condattr_getpshared; + pthread_condattr_init; + pthread_condattr_setclock; + pthread_condattr_setpshared; + pthread_create; + pthread_detach; + pthread_equal; + pthread_exit; + pthread_getattr_np; + pthread_getcpuclockid; + pthread_getschedparam; + pthread_getspecific; + pthread_gettid_np; + pthread_join; + pthread_key_create; + pthread_key_delete; + pthread_kill; + pthread_mutex_destroy; + pthread_mutex_init; + pthread_mutex_lock; + pthread_mutex_timedlock; + pthread_mutex_trylock; + pthread_mutex_unlock; + pthread_mutexattr_destroy; + pthread_mutexattr_getpshared; + pthread_mutexattr_gettype; + pthread_mutexattr_init; + pthread_mutexattr_setpshared; + pthread_mutexattr_settype; + pthread_once; + pthread_rwlock_destroy; + pthread_rwlock_init; + pthread_rwlock_rdlock; + pthread_rwlock_timedrdlock; + pthread_rwlock_timedwrlock; + pthread_rwlock_tryrdlock; + pthread_rwlock_trywrlock; + pthread_rwlock_unlock; + pthread_rwlock_wrlock; + pthread_rwlockattr_destroy; + pthread_rwlockattr_getkind_np; + pthread_rwlockattr_getpshared; + pthread_rwlockattr_init; + pthread_rwlockattr_setkind_np; + pthread_rwlockattr_setpshared; + pthread_self; + pthread_setname_np; + pthread_setschedparam; + pthread_setspecific; + pthread_sigmask; + ptrace; + ptsname; + ptsname_r; + putc; + putc_unlocked; + putchar; + putchar_unlocked; + putenv; + puts; + pututline; + putwc; + putwchar; + pwrite; + pwrite64; + qsort; + quick_exit; + raise; + rand; + rand_r; + random; + read; + readahead; + readdir; + readdir64; + readdir64_r; + readdir_r; + readlink; + readlinkat; + readv; + realloc; + realpath; + reboot; + recv; + recvfrom; + recvmmsg; + recvmsg; + regcomp; + regerror; + regexec; + regfree; + remove; + removexattr; + remque; + rename; + renameat; + res_init; + res_mkquery; + res_query; + res_search; + rewind; + rewinddir; + rmdir; + sbrk; + scandir; + scandir64; + scanf; + sched_get_priority_max; + sched_get_priority_min; + sched_getaffinity; + sched_getcpu; + sched_getparam; + sched_getscheduler; + sched_rr_get_interval; + sched_setaffinity; + sched_setparam; + sched_setscheduler; + sched_yield; + seed48; + seekdir; + select; + sem_close; + sem_destroy; + sem_getvalue; + sem_init; + sem_open; + sem_post; + sem_timedwait; + sem_trywait; + sem_unlink; + sem_wait; + send; + sendfile; + sendfile64; + sendmmsg; + sendmsg; + sendto; + setbuf; + setbuffer; + setegid; + setenv; + seteuid; + setfsgid; + setfsuid; + setgid; + setgroups; + sethostname; + setitimer; + setjmp; + setlinebuf; + setlocale; + setlogmask; + setmntent; + setns; + setpgid; + setpgrp; + setpriority; + setprogname; + setregid; + setresgid; + setresuid; + setreuid; + setrlimit; + setrlimit64; + setservent; + setsid; + setsockopt; + setstate; + settimeofday; + setuid; + setutent; + setvbuf; + setxattr; + shutdown; + sigaction; + sigaddset; + sigaltstack; + sigblock; + sigdelset; + sigemptyset; + sigfillset; + siginterrupt; + sigismember; + siglongjmp; + signal; + signalfd; + sigpending; + sigprocmask; + sigqueue; + sigsetjmp; + sigsetmask; + sigsuspend; + sigtimedwait; + sigwait; + sigwaitinfo; + sleep; + snprintf; + socket; + socketpair; + splice; + sprintf; + srand; + srand48; + srandom; + sscanf; + stat; + stat64; + statfs; + statfs64; + statvfs; + statvfs64; + stderr; + stdin; + stdout; + stpcpy; + stpncpy; + strcasecmp; + strcasecmp_l; + strcasestr; + strcat; + strchr; + strcmp; + strcoll; + strcoll_l; + strcpy; + strcspn; + strdup; + strerror; + strerror_l; + strerror_r; + strftime; + strftime_l; + strlcat; + strlcpy; + strlen; + strncasecmp; + strncasecmp_l; + strncat; + strncmp; + strncpy; + strndup; + strnlen; + strpbrk; + strptime; + strrchr; + strsep; + strsignal; + strspn; + strstr; + strtod; + strtof; + strtoimax; + strtok; + strtok_r; + strtol; + strtold; + strtold_l; + strtoll; + strtoll_l; + strtoq; + strtoul; + strtoull; + strtoull_l; + strtoumax; + strtouq; + strxfrm; + strxfrm_l; + swapoff; + swapon; + swprintf; + swscanf; + symlink; + symlinkat; + sync; + sys_siglist; + sys_signame; + syscall; + sysconf; + sysinfo; + syslog; + system; + tcdrain; + tcflow; + tcflush; + tcgetattr; + tcgetpgrp; + tcgetsid; + tcsendbreak; + tcsetattr; + tcsetpgrp; + tdelete; + tdestroy; + tee; + telldir; + tempnam; + tfind; + tgkill; + time; + timegm; + timelocal; + timer_create; + timer_delete; + timer_getoverrun; + timer_gettime; + timer_settime; + timerfd_create; + timerfd_gettime; + timerfd_settime; + times; + timezone; + tmpfile; + tmpnam; + toascii; + tolower; + tolower_l; + toupper; + toupper_l; + towlower; + towlower_l; + towupper; + towupper_l; + truncate; + truncate64; + tsearch; + ttyname; + ttyname_r; + twalk; + tzname; + tzset; + umask; + umount; + umount2; + uname; + ungetc; + ungetwc; + unlink; + unlinkat; + unlockpt; + unsetenv; + unshare; + uselocale; + usleep; + utime; + utimensat; + utimes; + utmpname; + vasprintf; + vdprintf; + verr; + verrx; + vfork; + vfprintf; + vfscanf; + vfwprintf; + vfwscanf; + vmsplice; + vprintf; + vscanf; + vsnprintf; + vsprintf; + vsscanf; + vswprintf; + vswscanf; + vsyslog; + vwarn; + vwarnx; + vwprintf; + vwscanf; + wait; + wait4; + waitid; + waitpid; + warn; + warnx; + wcpcpy; + wcpncpy; + wcrtomb; + wcscasecmp; + wcscasecmp_l; + wcscat; + wcschr; + wcscmp; + wcscoll; + wcscoll_l; + wcscpy; + wcscspn; + wcsdup; + wcsftime; + wcslcat; + wcslcpy; + wcslen; + wcsncasecmp; + wcsncasecmp_l; + wcsncat; + wcsncmp; + wcsncpy; + wcsnlen; + wcsnrtombs; + wcspbrk; + wcsrchr; + wcsrtombs; + wcsspn; + wcsstr; + wcstod; + wcstof; + wcstoimax; + wcstok; + wcstol; + wcstold; + wcstold_l; + wcstoll; + wcstoll_l; + wcstombs; + wcstoul; + wcstoull; + wcstoull_l; + wcstoumax; + wcswidth; + wcsxfrm; + wcsxfrm_l; + wctob; + wctomb; + wctype; + wctype_l; + wcwidth; + wmemchr; + wmemcmp; + wmemcpy; + wmemmove; + wmempcpy; + wmemset; + wprintf; + write; + writev; + wscanf; + local: + *; +}; + +LIBC_N { + global: + __fread_chk; + __fwrite_chk; + __getcwd_chk; + __pwrite_chk; + __pwrite64_chk; + __write_chk; + fileno_unlocked; + getgrgid_r; + getgrnam_r; + preadv; + preadv64; + pthread_barrierattr_destroy; + pthread_barrierattr_getpshared; + pthread_barrierattr_init; + pthread_barrierattr_setpshared; + pthread_barrier_destroy; + pthread_barrier_init; + pthread_barrier_wait; + pthread_spin_destroy; + pthread_spin_init; + pthread_spin_lock; + pthread_spin_trylock; + pthread_spin_unlock; + pwritev; + pwritev64; + scandirat; + scandirat64; + strchrnul; +} LIBC; + +LIBC_PRIVATE { + global: + gMallocLeakZygoteChild; +} LIBC_N; diff --git a/libc/libc.x86_64.map b/libc/libc.x86_64.map index 763f77ef1..be0bf5b52 100644 --- a/libc/libc.x86_64.map +++ b/libc/libc.x86_64.map @@ -241,7 +241,7 @@ LIBC { dup3; duplocale; endmntent; - endpwent; + endpwent; # arm arm64 x86 x86_64 mips mips64 nobrillo endservent; endutent; environ; @@ -1182,7 +1182,7 @@ LIBC_N { LIBC_PRIVATE { global: - dlmalloc_inspect_all; - dlmalloc_trim; + dlmalloc_inspect_all; # arm arm64 x86 x86_64 mips mips64 nobrillo + dlmalloc_trim; # arm arm64 x86 x86_64 mips mips64 nobrillo gMallocLeakZygoteChild; } LIBC_N; diff --git a/libc/tools/genversion-scripts.py b/libc/tools/genversion-scripts.py index 37fb5e928..e15c04e5f 100755 --- a/libc/tools/genversion-scripts.py +++ b/libc/tools/genversion-scripts.py @@ -36,20 +36,26 @@ class VersionScriptGenerator(object): basename = os.path.basename(script) dirname = os.path.dirname(script) for arch in all_arches: - name = basename.split(".")[0] + "." + arch + ".map" - tmp_path = os.path.join(bionic_temp, name) - dest_path = os.path.join(dirname, name) - with open(tmp_path, "w") as fout: - with open(script, "r") as fin: - fout.write("# %s\n" % warning) - for line in fin: - index = line.find("#") - if index != -1: - arches = line[index+1:].split() - if arch not in arches: - continue - fout.write(line) - shutil.copyfile(tmp_path, dest_path) + for brillo in [False, True]: + has_nobrillo = False + name = basename.split(".")[0] + "." + arch + (".brillo" if brillo else "") + ".map" + tmp_path = os.path.join(bionic_temp, name) + dest_path = os.path.join(dirname, name) + with open(tmp_path, "w") as fout: + with open(script, "r") as fin: + fout.write("# %s\n" % warning) + for line in fin: + index = line.find("#") + if index != -1: + tags = line[index+1:].split() + if arch not in tags: + continue + if brillo and "nobrillo" in tags: + has_nobrillo = True + continue + fout.write(line) + if not brillo or has_nobrillo: + shutil.copyfile(tmp_path, dest_path) generator = VersionScriptGenerator() -- cgit v1.2.3