提交 e80311f6 编写于 作者: zzuli_lyw's avatar zzuli_lyw

规范化libc.map.txt文件

在libc.map.txt中在global中剔除在local中出现的选项,将local置为*,补充global缺失的选项

Issue: https://gitee.com/openharmony/third_party_musl/issues/I70WI9
Test: 编译构建libc
Signed-off-by: zzuli_lyw's avatarzzulilyw <378305181@qq.com>
上级 d89c65c8
...@@ -77,11 +77,11 @@ ...@@ -77,11 +77,11 @@
__fxstatat64; __fxstatat64;
__getcwd_chk; __getcwd_chk;
__getdelim; __getdelim;
__getgmtoff; # __getgmtoff;
__getitimer_time64; __getitimer_time64;
__getrusage_time64; __getrusage_time64;
__gettimeofday_time64; __gettimeofday_time64;
__getzonename; # __getzonename;
__gmtime64; __gmtime64;
__gmtime64_r; __gmtime64_r;
__gnu_Unwind_Find_exidx; __gnu_Unwind_Find_exidx;
...@@ -130,8 +130,8 @@ ...@@ -130,8 +130,8 @@
__libc_free; __libc_free;
__libc_malloc; __libc_malloc;
__libc_malloc_default_dispatch; __libc_malloc_default_dispatch;
__libc_mmap; # __libc_mmap;
__libc_munmap; # __libc_munmap;
__libc_start_main; __libc_start_main;
__lldb_mmap; __lldb_mmap;
__localtime64; __localtime64;
...@@ -142,14 +142,14 @@ ...@@ -142,14 +142,14 @@
__lxstat64; __lxstat64;
__memchr_diagnose; __memchr_diagnose;
__memcpy_chk; __memcpy_chk;
__memmove_aarch64; # __memmove_aarch64;
__memmove_chk; __memmove_chk;
__mempcpy_chk; __mempcpy_chk;
__memrchr_chk; __memrchr_chk;
__memset_chk; __memset_chk;
__mktime64; __mktime64;
__mq_timedreceive_time64; # __mq_timedreceive_time64;
__mq_timedsend_time64; # __mq_timedsend_time64;
__mtx_timedlock_time64; __mtx_timedlock_time64;
__musl_libc_globals; __musl_libc_globals;
__nanosleep_time64; __nanosleep_time64;
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
__open64_diagnose; __open64_diagnose;
__openat_diagnose; __openat_diagnose;
__openat64_diagnose; __openat64_diagnose;
__optpos; # __optpos;
__optreset; __optreset;
__overflow; __overflow;
__poll_diagnose; __poll_diagnose;
...@@ -174,20 +174,20 @@ ...@@ -174,20 +174,20 @@
__pthread_cond_timedwait_time64; __pthread_cond_timedwait_time64;
__pthread_gettid_np; __pthread_gettid_np;
__pthread_mutex_timedlock_time64; __pthread_mutex_timedlock_time64;
__pthread_release_signal_stack; # __pthread_release_signal_stack;
__pthread_reserve_signal_stack; # __pthread_reserve_signal_stack;
__pthread_rwlock_timedrdlock_time64; __pthread_rwlock_timedrdlock_time64;
__pthread_rwlock_timedwrlock_time64; __pthread_rwlock_timedwrlock_time64;
__pthread_timedjoin_np_time64; # __pthread_timedjoin_np_time64;
__pwrite_chk; __pwrite_chk;
__read_chk; __read_chk;
__readlink_chk; __readlink_chk;
__readlinkat_chk; __readlinkat_chk;
__reboot; # __reboot;
__recv_diagnose; __recv_diagnose;
__recvfrom_diagnose; __recvfrom_diagnose;
__recvmmsg_time64; __recvmmsg_time64;
__res_state; # __res_state;
__sched_cpualloc; __sched_cpualloc;
__sched_cpucount; __sched_cpucount;
__sched_rr_get_interval_time64; __sched_rr_get_interval_time64;
...@@ -313,20 +313,20 @@ ...@@ -313,20 +313,20 @@
add_special_signal_handler; add_special_signal_handler;
adjtime; adjtime;
adjtimex; adjtimex;
aio_cancel; # aio_cancel;
aio_cancel64; # aio_cancel64;
aio_error; # aio_error;
aio_error64; # aio_error64;
aio_fsync; # aio_fsync;
aio_fsync64; # aio_fsync64;
aio_read; # aio_read;
aio_read64; # aio_read64;
aio_return; # aio_return;
aio_return64; # aio_return64;
aio_suspend; # aio_suspend;
aio_suspend64; # aio_suspend64;
aio_write; # aio_write;
aio_write64; # aio_write64;
alarm; alarm;
aligned_alloc; aligned_alloc;
alphasort; alphasort;
...@@ -421,7 +421,7 @@ ...@@ -421,7 +421,7 @@
cfsetospeed; cfsetospeed;
cfsetspeed; cfsetspeed;
chdir; chdir;
check_asan_path; # check_asan_path;
chmod; chmod;
chown; chown;
chroot; chroot;
...@@ -451,8 +451,8 @@ ...@@ -451,8 +451,8 @@
cnd_signal; cnd_signal;
cnd_timedwait; cnd_timedwait;
cnd_wait; cnd_wait;
configor_free; # configor_free;
configor_init; # configor_init;
confstr; confstr;
conj; conj;
conjf; conjf;
...@@ -480,7 +480,7 @@ ...@@ -480,7 +480,7 @@
creat; creat;
creat64; creat64;
crypt; crypt;
crypt_r; # crypt_r;
csin; csin;
csinf; csinf;
csinh; csinh;
...@@ -524,9 +524,9 @@ ...@@ -524,9 +524,9 @@
dlns_inherit; dlns_inherit;
dlns_init; dlns_init;
dlns_set_namespace_allowed_libs; dlns_set_namespace_allowed_libs;
dlns_set_namespace_lib_path; # dlns_set_namespace_lib_path;
dlns_set_namespace_permitted_paths; # dlns_set_namespace_permitted_paths;
dlns_set_namespace_separated; # dlns_set_namespace_separated;
dlopen; dlopen;
dlopen_ext; dlopen_ext;
dlopen_ns; dlopen_ns;
...@@ -537,7 +537,7 @@ ...@@ -537,7 +537,7 @@
dn_skipname; dn_skipname;
dngettext; dngettext;
dns_get_addr_info_from_netsys_cache; dns_get_addr_info_from_netsys_cache;
dns_set_addr_info_to_netsys_cache; # dns_set_addr_info_to_netsys_cache;
dprintf; dprintf;
drand48; drand48;
drem; drem;
...@@ -548,8 +548,8 @@ ...@@ -548,8 +548,8 @@
duplocale; duplocale;
eaccess; eaccess;
ecvt; ecvt;
encode_ptr; # encode_ptr;
encrypt; # encrypt;
endgrent; endgrent;
endhostent; endhostent;
endmntent; endmntent;
...@@ -668,7 +668,7 @@ ...@@ -668,7 +668,7 @@
fgetxattr; fgetxattr;
fileno; fileno;
fileno_unlocked; fileno_unlocked;
find_ns_by_name; # find_ns_by_name;
finish_install_ohos_malloc_hooks; finish_install_ohos_malloc_hooks;
finite; finite;
finitef; finitef;
...@@ -762,7 +762,7 @@ ...@@ -762,7 +762,7 @@
get_application_target_sdk_version; get_application_target_sdk_version;
get_avphys_pages; get_avphys_pages;
get_current_dir_name; get_current_dir_name;
get_default_ns; # get_default_ns;
get_device_api_version; get_device_api_version;
get_fatal_message; get_fatal_message;
get_nprocs; get_nprocs;
...@@ -857,7 +857,7 @@ ...@@ -857,7 +857,7 @@
getsockopt; getsockopt;
getspent; getspent;
getspnam; getspnam;
getspnam_r; # getspnam_r;
getsubopt; getsubopt;
gettext; gettext;
GetThreadName; GetThreadName;
...@@ -886,7 +886,7 @@ ...@@ -886,7 +886,7 @@
gmtime_r; gmtime_r;
grantpt; grantpt;
h_errno; h_errno;
handle_asan_path_open; # handle_asan_path_open;
HashMapAdd; HashMapAdd;
HashMapCreate; HashMapCreate;
HashMapDestroy; HashMapDestroy;
...@@ -945,11 +945,11 @@ ...@@ -945,11 +945,11 @@
inotify_init1; inotify_init1;
inotify_rm_watch; inotify_rm_watch;
insque; insque;
INVALID_SOCKET; # INVALID_SOCKET;
ioctl; ioctl;
is_accessible; # is_accessible;
is_allow_internet; is_allow_internet;
is_sharable; # is_sharable;
isalnum; isalnum;
isalnum_l; isalnum_l;
isalpha; isalpha;
...@@ -1034,8 +1034,8 @@ ...@@ -1034,8 +1034,8 @@
lgetxattr; lgetxattr;
link; link;
linkat; linkat;
lio_listio; # lio_listio;
lio_listio64; # lio_listio64;
listen; listen;
listxattr; listxattr;
llabs; llabs;
...@@ -1143,16 +1143,16 @@ ...@@ -1143,16 +1143,16 @@
modfl; modfl;
mount; mount;
mprotect; mprotect;
mq_close; # mq_close;
mq_getattr; # mq_getattr;
mq_notify; # mq_notify;
mq_open; # mq_open;
mq_receive; # mq_receive;
mq_send; # mq_send;
mq_setattr; # mq_setattr;
mq_timedreceive; # mq_timedreceive;
mq_timedsend; # mq_timedsend;
mq_unlink; # mq_unlink;
mrand48; mrand48;
mremap; mremap;
msgctl; msgctl;
...@@ -1178,7 +1178,7 @@ ...@@ -1178,7 +1178,7 @@
nearbyintf; nearbyintf;
nearbyintl; nearbyintl;
newlocale; newlocale;
next_key; # next_key;
nextafter; nextafter;
nextafterf; nextafterf;
nextafterl; nextafterl;
...@@ -1192,10 +1192,10 @@ ...@@ -1192,10 +1192,10 @@
nl_langinfo; nl_langinfo;
nl_langinfo_l; nl_langinfo_l;
nrand48; nrand48;
ns_add_dso; # ns_add_dso;
ns_add_inherit; ns_add_inherit;
ns_alloc; # ns_alloc;
ns_free; # ns_free;
ns_get16; ns_get16;
ns_get32; ns_get32;
ns_initparse; ns_initparse;
...@@ -1203,17 +1203,17 @@ ...@@ -1203,17 +1203,17 @@
ns_parserr; ns_parserr;
ns_put16; ns_put16;
ns_put32; ns_put32;
ns_set_allowed_libs; # ns_set_allowed_libs;
ns_set_asan_lib_paths; # ns_set_asan_lib_paths;
ns_set_asan_permitted_paths; # ns_set_asan_permitted_paths;
ns_set_env_paths; # ns_set_env_paths;
ns_set_lib_paths; # ns_set_lib_paths;
ns_set_name; # ns_set_name;
ns_set_permitted_paths; # ns_set_permitted_paths;
ns_set_separated; # ns_set_separated;
ns_skiprr; ns_skiprr;
nslist_add_ns; # nslist_add_ns;
nslist_init; # nslist_init;
ntohl; ntohl;
ntohs; ntohs;
OH_HashMapAdd; OH_HashMapAdd;
...@@ -1338,7 +1338,7 @@ ...@@ -1338,7 +1338,7 @@
pthread_barrierattr_getpshared; pthread_barrierattr_getpshared;
pthread_barrierattr_init; pthread_barrierattr_init;
pthread_barrierattr_setpshared; pthread_barrierattr_setpshared;
pthread_cancel; # pthread_cancel;
pthread_cond_broadcast; pthread_cond_broadcast;
pthread_cond_clockwait; pthread_cond_clockwait;
pthread_cond_destroy; pthread_cond_destroy;
...@@ -1372,7 +1372,7 @@ ...@@ -1372,7 +1372,7 @@
pthread_key_delete; pthread_key_delete;
pthread_kill; pthread_kill;
pthread_mutex_clocklock; pthread_mutex_clocklock;
pthread_mutex_consistent; # pthread_mutex_consistent;
pthread_mutex_destroy; pthread_mutex_destroy;
pthread_mutex_getprioceiling; pthread_mutex_getprioceiling;
pthread_mutex_init; pthread_mutex_init;
...@@ -1386,12 +1386,12 @@ ...@@ -1386,12 +1386,12 @@
pthread_mutexattr_destroy; pthread_mutexattr_destroy;
pthread_mutexattr_getprotocol; pthread_mutexattr_getprotocol;
pthread_mutexattr_getpshared; pthread_mutexattr_getpshared;
pthread_mutexattr_getrobust; # pthread_mutexattr_getrobust;
pthread_mutexattr_gettype; pthread_mutexattr_gettype;
pthread_mutexattr_init; pthread_mutexattr_init;
pthread_mutexattr_setprotocol; pthread_mutexattr_setprotocol;
pthread_mutexattr_setpshared; pthread_mutexattr_setpshared;
pthread_mutexattr_setrobust; # pthread_mutexattr_setrobust;
pthread_mutexattr_settype; pthread_mutexattr_settype;
pthread_once; pthread_once;
pthread_rwlock_clockrdlock; pthread_rwlock_clockrdlock;
...@@ -1415,7 +1415,7 @@ ...@@ -1415,7 +1415,7 @@
pthread_setaffinity_np; pthread_setaffinity_np;
pthread_setattr_default_np; pthread_setattr_default_np;
pthread_setcancelstate; pthread_setcancelstate;
pthread_setcanceltype; # pthread_setcanceltype;
pthread_setconcurrency; pthread_setconcurrency;
pthread_setname_np; pthread_setname_np;
pthread_setschedparam; pthread_setschedparam;
...@@ -1427,9 +1427,9 @@ ...@@ -1427,9 +1427,9 @@
pthread_spin_lock; pthread_spin_lock;
pthread_spin_trylock; pthread_spin_trylock;
pthread_spin_unlock; pthread_spin_unlock;
pthread_testcancel; # pthread_testcancel;
pthread_timedjoin_np; # pthread_timedjoin_np;
pthread_tryjoin_np; # pthread_tryjoin_np;
ptrace; ptrace;
ptsname; ptsname;
ptsname_r; ptsname_r;
...@@ -1578,7 +1578,7 @@ ...@@ -1578,7 +1578,7 @@
sethostname; sethostname;
setitimer; setitimer;
setjmp; setjmp;
setkey; # setkey;
setlinebuf; setlinebuf;
setlocale; setlocale;
setlogmask; setlogmask;
...@@ -1609,8 +1609,8 @@ ...@@ -1609,8 +1609,8 @@
setutxent; setutxent;
setvbuf; setvbuf;
setxattr; setxattr;
shm_open; # shm_open;
shm_unlink; # shm_unlink;
shmat; shmat;
shmctl; shmctl;
shmdt; shmdt;
...@@ -1660,7 +1660,7 @@ ...@@ -1660,7 +1660,7 @@
sockatmark; sockatmark;
socket; socket;
SOCKET_ADDR; SOCKET_ADDR;
SOCKET_TYPE; # SOCKET_TYPE;
socketpair; socketpair;
splice; splice;
sprintf; sprintf;
...@@ -1671,7 +1671,7 @@ ...@@ -1671,7 +1671,7 @@
srand48; srand48;
srandom; srandom;
sscanf; sscanf;
stack_naming; # stack_naming;
stat; stat;
stat64; stat64;
statfs; statfs;
...@@ -1814,11 +1814,11 @@ ...@@ -1814,11 +1814,11 @@
towlower_l; towlower_l;
towupper; towupper;
towupper_l; towupper_l;
trace_marker_async_begin; # trace_marker_async_begin;
trace_marker_async_end; # trace_marker_async_end;
trace_marker_begin; trace_marker_begin;
trace_marker_count; # trace_marker_count;
trace_marker_end; # trace_marker_end;
trunc; trunc;
truncate; truncate;
truncate64; truncate64;
...@@ -1959,111 +1959,14 @@ ...@@ -1959,111 +1959,14 @@
y1f; y1f;
yn; yn;
ynf; ynf;
dlopen_ns_ext;
init_cfi_shadow;
map_dso_to_cfi_shadow;
unmap_dso_from_cfi_shadow;
__cfi_slowpath;
__cfi_slowpath_diag;
__memleak_hook_flag;
local: local:
mq_close; *;
mq_getattr;
mq_notify;
mq_open;
mq_receive;
mq_send;
mq_setattr;
mq_timedreceive;
mq_timedsend;
mq_unlink;
__mq_timedreceive_time64;
__mq_timedsend_time64;
shm_open;
shm_unlink;
pthread_cancel;
# pthread_setcancelstate;
pthread_setcanceltype;
pthread_testcancel;
pthread_mutex_consistent;
pthread_mutexattr_getrobust;
pthread_mutexattr_setrobust;
__optpos;
aio_cancel;
aio_cancel64;
aio_error;
aio_error64;
aio_fsync;
aio_fsync64;
aio_read;
aio_read64;
aio_return;
aio_return64;
aio_suspend;
aio_suspend64;
aio_write;
aio_write64;
lio_listio;
lio_listio64;
setkey;
__getgmtoff;
__getzonename;
__libc_mmap;
__libc_munmap;
# __mem_typeset;
__memmove_aarch64;
__pthread_release_signal_stack;
__pthread_reserve_signal_stack;
__pthread_timedjoin_np_time64;
__reboot;
__res_state;
check_asan_path;
configor_free;
configor_init;
# crypt;
crypt_r;
dlns_set_namespace_lib_path;
dlns_set_namespace_permitted_paths;
dlns_set_namespace_separated;
dns_get_addr_info_from_net;
dns_set_addr_info_to_net;
dns_set_addr_info_to_netsys_cache;
encode_ptr;
encrypt;
find_ns_by_name;
get_default_ns;
# getspnam;
getspnam_r;
handle_asan_path_open;
HiLogAdapterIsLoggable;
HiLogAdapterPrint;
INVALID_SOCKET;
is_accessible;
is_allow_inherit;
is_sharable;
next_key;
ns_add_dso;
ns_alloc;
ns_free;
ns_set_allowed_libs;
ns_set_asan_lib_paths;
ns_set_asan_permitted_paths;
ns_set_env_paths;
ns_set_lib_paths;
ns_set_name;
ns_set_permitted_paths;
ns_set_separated;
nslist_add_ns;
nslist_init;
# ohos_malloc_hook_shared_library;
pthread_timedjoin_np;
pthread_tryjoin_np;
SOCKER_ADDR;
SOCKET_TYPE;
spnam;
stack_naming;
strlist_alloc;
strlist_free;
strlist_set;
strlwc;
strsplit;
strtrim;
sys_cache;
trace_marker_async_begin;
trace_marker_async_end;
trace_marker_count;
trace_marker_end;
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册