summaryrefslogtreecommitdiff
path: root/lib/libc/compiler_rt
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2017-07-23 09:50:54 +0000
committermartin <martin@NetBSD.org>2017-07-23 09:50:54 +0000
commite32bb5a9a2cba17e89ad1cd123e7f34f7db6ea2e (patch)
tree6dea07f664ef0f0b451c48dc1f07126e77f3d1da /lib/libc/compiler_rt
parent75cac07637b00d76dba67bd258f0ff2fd4d9fde0 (diff)
Do not use IEEE 754 specific functions for VAX
Diffstat (limited to 'lib/libc/compiler_rt')
-rw-r--r--lib/libc/compiler_rt/Makefile.inc95
1 files changed, 51 insertions, 44 deletions
diff --git a/lib/libc/compiler_rt/Makefile.inc b/lib/libc/compiler_rt/Makefile.inc
index 4fd46fb5c2b..436639fbd9f 100644
--- a/lib/libc/compiler_rt/Makefile.inc
+++ b/lib/libc/compiler_rt/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.34 2017/06/16 21:22:14 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.35 2017/07/23 09:50:54 martin Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
@@ -31,6 +31,52 @@ GENERIC_SRCS+= \
gcc_personality_v0.c
.endif
+GENERIC_SRCS+= \
+ absvsi2.c \
+ absvti2.c \
+ addvsi3.c \
+ addvti3.c \
+ ashlti3.c \
+ ashrti3.c \
+ clzti2.c \
+ cmpti2.c \
+ ctzti2.c \
+ divti3.c \
+ ffsti2.c \
+ fixsfdi.c \
+ fixdfdi.c \
+ fixunsdfdi.c \
+ fixunsdfsi.c \
+ fixunssfdi.c \
+ fixunssfsi.c \
+ fixunsxfdi.c \
+ fixunsxfsi.c \
+ int_util.c \
+ lshrti3.c \
+ modti3.c \
+ muldc3.c \
+ mulosi4.c \
+ muloti4.c \
+ multi3.c \
+ mulvsi3.c \
+ mulvti3.c \
+ negti2.c \
+ negvsi2.c \
+ negvti2.c \
+ paritysi2.c \
+ parityti2.c \
+ popcountsi2.c \
+ popcountti2.c \
+ subvsi3.c \
+ subvti3.c \
+ ucmpti2.c \
+ udivmodti4.c \
+ udivti3.c \
+ umodti3.c
+
+# only used for machines using IEEE 754 floating point formats
+.if ${MACHINE_ARCH} != "vax"
+
.if 0
# Conflicts with soft-float
GENERIC_SRCS+= \
@@ -64,60 +110,21 @@ GENERIC_SRCS+= \
trunctfsf2.c
.endif
-GENERIC_SRCS+= \
- absvsi2.c \
- absvti2.c \
- addvsi3.c \
- addvti3.c \
- ashlti3.c \
- ashrti3.c \
- clzti2.c \
- cmpti2.c \
- ctzti2.c \
- divti3.c \
- ffsti2.c \
- fixsfdi.c \
- fixdfdi.c \
- fixunsdfdi.c \
- fixunsdfsi.c \
- fixunssfdi.c \
- fixunssfsi.c \
- fixunsxfdi.c \
- fixunsxfsi.c \
+GENERIC_SRCS+= \
floatdidf.c \
floatdisf.c \
floatdixf.c \
floatundidf.c \
floatundisf.c \
floatundixf.c \
- int_util.c \
- lshrti3.c \
- modti3.c \
- muldc3.c \
- mulosi4.c \
- muloti4.c \
- multi3.c \
- mulvsi3.c \
- mulvti3.c \
negdf2.c \
negsf2.c \
- negti2.c \
- negvsi2.c \
- negvti2.c \
- paritysi2.c \
- parityti2.c \
- popcountsi2.c \
- popcountti2.c \
powidf2.c \
powisf2.c \
powitf2.c \
- powixf2.c \
- subvsi3.c \
- subvti3.c \
- ucmpti2.c \
- udivmodti4.c \
- udivti3.c \
- umodti3.c
+ powixf2.c
+
+.endif # IEEE 754 only machines
.if ${MACHINE_ARCH} != "m68k"
GENERIC_SRCS+= \