Module Name: src
Committed By: martin
Date: Sun Jul 23 09:50:54 UTC 2017
Modified Files:
src/lib/libc/compiler_rt: Makefile.inc
Log Message:
Do not use IEEE 754 specific functions for VAX
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/compiler_rt/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/compiler_rt/Makefile.inc
diff -u src/lib/libc/compiler_rt/Makefile.inc:1.34 src/lib/libc/compiler_rt/Makefile.inc:1.35
--- src/lib/libc/compiler_rt/Makefile.inc:1.34 Fri Jun 16 21:22:14 2017
+++ src/lib/libc/compiler_rt/Makefile.inc Sun Jul 23 09:50:54 2017
@@ -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+= \