Christian Weisgerber:
> > Maybe this would already help? Would at least not throw stones into the
> > way of the next person doing an upgrade of compiler-rt...
> -snip-
>
> Yes, that's better... but errors out:
> make: don't know how to make floatdixf.c.c (prerequisite of: floatdixf.c.o)
Oh, it's a typo. The fixed version looks fine to me.
However, I don't know how to test that these functions actually work.
Index: Makefile
===================================================================
RCS file: /cvs/src/lib/libcompiler_rt/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 4 Aug 2017 12:00:59 -0000 1.9
+++ Makefile 7 Sep 2017 16:47:31 -0000
@@ -89,17 +89,11 @@ GEN_SRCS= absvdi2 \
fixunsxfti \
fixxfdi \
fixxfti \
- floatdidf \
- floatdisf \
- floatdixf \
floatsidf \
floatsisf \
floattidf \
floattisf \
floattixf \
- floatundidf \
- floatundisf \
- floatundixf \
floatunsidf \
floatunsisf \
floatuntidf \
@@ -164,6 +158,22 @@ GEN_SRCS= absvdi2 \
umoddi3 \
umodsi3 \
umodti3
+
+.if ${RTARCH} == "i386"
+SRCS+= floatdidf.c \
+ floatdisf.c \
+ floatdixf.c \
+ floatundidf.c \
+ floatundisf.c \
+ floatundixf.c
+.else
+GEN_SRCS+= floatdidf \
+ floatdisf \
+ floatdixf \
+ floatundidf \
+ floatundisf \
+ floatundixf
+.endif
.for file in ${GEN_SRCS}
. if exists(${.CURDIR}/${RTARCH}/${file}.S)
--
Christian "naddy" Weisgerber [email protected]