]> git.proxmox.com Git - wasi-libc.git/commitdiff
Remove __fpclassify and __signbit definitions.
authorDan Gohman <sunfish@mozilla.com>
Mon, 29 Apr 2019 12:10:37 +0000 (05:10 -0700)
committerDan Gohman <sunfish@mozilla.com>
Thu, 9 May 2019 16:15:30 +0000 (09:15 -0700)
With fpclassify and signbit now implemented as compiler builtins in a64f6544,
these out-of-line helper functions are no longer needed.

Makefile
expected/wasm32-wasi/defined-symbols.txt

index 4b702cfdabde6eaf6da533c8257849e746249fbc..48ee273c66709fbedcccf9dd55ba604b86e0fe2e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -140,7 +140,9 @@ LIBC_TOP_HALF_MUSL_SOURCES = \
     $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/prng/*.c) \
     $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/conf/*.c) \
     $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/ctype/*.c) \
-    $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/math/*.c) \
+    $(filter-out %/__signbit.c %/__signbitf.c %/__signbitl.c \
+                 %/__fpclassify.c %/__fpclassifyf.c %/__fpclassifyl.c, \
+                 $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/math/*.c)) \
     $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/complex/*.c) \
     $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/crypt/*.c)
 MUSL_PRINTSCAN_SOURCES = \
index a5b1ec51101c9833b47879050e3ad1dc39f08da1..1c637996cca43e737be9bb2e6eab53e012aecf5f 100644 (file)
@@ -52,9 +52,6 @@ __flbf
 __floatscan
 __fmodeflags
 __fopen_rb_ca
-__fpclassify
-__fpclassifyf
-__fpclassifyl
 __fpending
 __fpurge
 __fputwc_unlocked
@@ -170,9 +167,6 @@ __secs_to_zone
 __seed48
 __shgetc
 __shlim
-__signbit
-__signbitf
-__signbitl
 __signgam
 __sin
 __sindf