File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ install: finish
934934$(SYSROOT_SHARE ) /defined-symbols.txt : startup_files libc
935935 mkdir -p " $( SYSROOT_SHARE) "
936936 " $( NM) " --defined-only \
937- $(SYSROOT_LIB ) /libc.a $( SYSROOT_LIB ) /libwasi-emulated- * .a $(SYSROOT_LIB ) /* .o \
937+ $(SYSROOT_LIB ) /* .a $(SYSROOT_LIB ) /* .o \
938938 | grep ' [[:upper:]] ' \
939939 | sed ' s/.* [[:upper:]] //' \
940940 | LC_ALL=C sort \
@@ -946,7 +946,7 @@ $(SYSROOT_SHARE)/undefined-symbols.txt: $(SYSROOT_SHARE)/defined-symbols.txt
946946 @# LLVM PR40497, which is fixed in 9.0, but not in 8.0.
947947 @# Ignore certain llvm builtin symbols such as those starting with __mul
948948 @# since these dependencies can vary between llvm versions.
949- for undef_sym in $$ (" $( NM) " --undefined-only $( SYSROOT_LIB) /libc.a $( SYSROOT_LIB ) /libc- * .a $( SYSROOT_LIB) /* .o | grep ' U ' | sed ' s/.* U //' | LC_ALL=C sort | uniq); do \
949+ for undef_sym in $$ (" $( NM) " --undefined-only $( SYSROOT_LIB) /* .a $( SYSROOT_LIB) /* .o | grep ' U ' | sed ' s/.* U //' | LC_ALL=C sort | uniq); do \
950950 grep -q ' \<' $$ undef_sym' \>' " $<" || echo $$ undef_sym; \
951951 done | grep -E -v " ^__mul|__memory_base|__indirect_function_table|__tls_base" > " $@ "
952952
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ __atexit_lockptr
2020__c_dot_utf8
2121__c_dot_utf8_locale
2222__c_locale
23+ __c_longjmp
2324__clock
2425__clock_gettime
2526__clock_nanosleep
@@ -402,6 +403,9 @@ __wasilibc_tell
402403__wasilibc_unlinkat
403404__wasilibc_utimens
404405__wasm_call_dtors
406+ __wasm_longjmp
407+ __wasm_setjmp
408+ __wasm_setjmp_test
405409__wcscoll_l
406410__wcsftime_l
407411__wcsxfrm_l
@@ -575,6 +579,10 @@ difftime
575579dirfd
576580dirname
577581div
582+ dlclose
583+ dlerror
584+ dlopen
585+ dlsym
578586dprintf
579587drand48
580588drem
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ __assert_fail
1717__c_dot_utf8
1818__c_dot_utf8_locale
1919__c_locale
20+ __c_longjmp
2021__clock
2122__clock_gettime
2223__clock_nanosleep
@@ -373,6 +374,9 @@ __wasilibc_tell
373374__wasilibc_unlinkat
374375__wasilibc_utimens
375376__wasm_call_dtors
377+ __wasm_longjmp
378+ __wasm_setjmp
379+ __wasm_setjmp_test
376380__wcscoll_l
377381__wcsftime_l
378382__wcsxfrm_l
@@ -546,6 +550,10 @@ difftime
546550dirfd
547551dirname
548552div
553+ dlclose
554+ dlerror
555+ dlopen
556+ dlsym
549557dprintf
550558drand48
551559drem
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ __assert_fail
1818__c_dot_utf8
1919__c_dot_utf8_locale
2020__c_locale
21+ __c_longjmp
2122__clock
2223__clock_gettime
2324__clock_nanosleep
@@ -389,6 +390,9 @@ __wasilibc_tell
389390__wasilibc_unlinkat
390391__wasilibc_utimens
391392__wasm_call_dtors
393+ __wasm_longjmp
394+ __wasm_setjmp
395+ __wasm_setjmp_test
392396__wcscoll_l
393397__wcsftime_l
394398__wcsxfrm_l
@@ -568,6 +572,10 @@ difftime
568572dirfd
569573dirname
570574div
575+ dlclose
576+ dlerror
577+ dlopen
578+ dlsym
571579dprintf
572580drand48
573581drem
You can’t perform that action at this time.
0 commit comments