[PATCH v2 1/2] Move signgm.c from libc/reent to libm/math

Jennifer Averett jennifer.averett@oarcorp.com
Fri May 5 18:17:41 GMT 2023


---
 newlib/libc/reent/Makefile.inc             | 1 -
 newlib/libm/math/Makefile.inc              | 1 +
 newlib/{libc/reent => libm/math}/signgam.c | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename newlib/{libc/reent => libm/math}/signgam.c (100%)

diff --git a/newlib/libc/reent/Makefile.inc b/newlib/libc/reent/Makefile.inc
index b4b7f7596..38ddf5766 100644
--- a/newlib/libc/reent/Makefile.inc
+++ b/newlib/libc/reent/Makefile.inc
@@ -14,7 +14,6 @@ libc_a_SOURCES += \
 	%D%/readr.c \
 	%D%/renamer.c \
 	%D%/signalr.c \
-	%D%/signgam.c \
 	%D%/sbrkr.c \
 	%D%/statr.c \
 	%D%/timesr.c \
diff --git a/newlib/libm/math/Makefile.inc b/newlib/libm/math/Makefile.inc
index 1b61d6dd3..d2a45bf13 100644
--- a/newlib/libm/math/Makefile.inc
+++ b/newlib/libm/math/Makefile.inc
@@ -15,6 +15,7 @@
 	%D%/w_scalb.c %D%/w_sinh.c %D%/w_sqrt.c \
 	%D%/w_sincos.c \
 	%D%/w_drem.c \
+	%D%/signgam.c \
 	%D%/s_asinh.c %D%/s_atan.c %D%/s_ceil.c \
 	%D%/s_cos.c %D%/s_erf.c %D%/s_fabs.c %D%/s_floor.c \
 	%D%/s_frexp.c %D%/s_ldexp.c \
diff --git a/newlib/libc/reent/signgam.c b/newlib/libm/math/signgam.c
similarity index 100%
rename from newlib/libc/reent/signgam.c
rename to newlib/libm/math/signgam.c
-- 
2.31.1



More information about the Newlib mailing list