File tree 4 files changed +26
-2
lines changed
4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ install: finish
934
934
$(SYSROOT_SHARE ) /defined-symbols.txt : startup_files libc
935
935
mkdir -p " $( SYSROOT_SHARE) "
936
936
" $( NM) " --defined-only \
937
- $(SYSROOT_LIB ) /libc.a $( SYSROOT_LIB ) /libwasi-emulated- * .a $(SYSROOT_LIB ) /* .o \
937
+ $(SYSROOT_LIB ) /* .a $(SYSROOT_LIB ) /* .o \
938
938
| grep ' [[:upper:]] ' \
939
939
| sed ' s/.* [[:upper:]] //' \
940
940
| LC_ALL=C sort \
@@ -946,7 +946,7 @@ $(SYSROOT_SHARE)/undefined-symbols.txt: $(SYSROOT_SHARE)/defined-symbols.txt
946
946
@# LLVM PR40497, which is fixed in 9.0, but not in 8.0.
947
947
@# Ignore certain llvm builtin symbols such as those starting with __mul
948
948
@# 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 \
950
950
grep -q ' \<' $$ undef_sym' \>' " $<" || echo $$ undef_sym; \
951
951
done | grep -E -v " ^__mul|__memory_base|__indirect_function_table|__tls_base" > " $@ "
952
952
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ __atexit_lockptr
20
20
__c_dot_utf8
21
21
__c_dot_utf8_locale
22
22
__c_locale
23
+ __c_longjmp
23
24
__clock
24
25
__clock_gettime
25
26
__clock_nanosleep
@@ -402,6 +403,9 @@ __wasilibc_tell
402
403
__wasilibc_unlinkat
403
404
__wasilibc_utimens
404
405
__wasm_call_dtors
406
+ __wasm_longjmp
407
+ __wasm_setjmp
408
+ __wasm_setjmp_test
405
409
__wcscoll_l
406
410
__wcsftime_l
407
411
__wcsxfrm_l
@@ -575,6 +579,10 @@ difftime
575
579
dirfd
576
580
dirname
577
581
div
582
+ dlclose
583
+ dlerror
584
+ dlopen
585
+ dlsym
578
586
dprintf
579
587
drand48
580
588
drem
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ __assert_fail
17
17
__c_dot_utf8
18
18
__c_dot_utf8_locale
19
19
__c_locale
20
+ __c_longjmp
20
21
__clock
21
22
__clock_gettime
22
23
__clock_nanosleep
@@ -373,6 +374,9 @@ __wasilibc_tell
373
374
__wasilibc_unlinkat
374
375
__wasilibc_utimens
375
376
__wasm_call_dtors
377
+ __wasm_longjmp
378
+ __wasm_setjmp
379
+ __wasm_setjmp_test
376
380
__wcscoll_l
377
381
__wcsftime_l
378
382
__wcsxfrm_l
@@ -546,6 +550,10 @@ difftime
546
550
dirfd
547
551
dirname
548
552
div
553
+ dlclose
554
+ dlerror
555
+ dlopen
556
+ dlsym
549
557
dprintf
550
558
drand48
551
559
drem
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ __assert_fail
18
18
__c_dot_utf8
19
19
__c_dot_utf8_locale
20
20
__c_locale
21
+ __c_longjmp
21
22
__clock
22
23
__clock_gettime
23
24
__clock_nanosleep
@@ -389,6 +390,9 @@ __wasilibc_tell
389
390
__wasilibc_unlinkat
390
391
__wasilibc_utimens
391
392
__wasm_call_dtors
393
+ __wasm_longjmp
394
+ __wasm_setjmp
395
+ __wasm_setjmp_test
392
396
__wcscoll_l
393
397
__wcsftime_l
394
398
__wcsxfrm_l
@@ -568,6 +572,10 @@ difftime
568
572
dirfd
569
573
dirname
570
574
div
575
+ dlclose
576
+ dlerror
577
+ dlopen
578
+ dlsym
571
579
dprintf
572
580
drand48
573
581
drem
You can’t perform that action at this time.
0 commit comments