Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/compiler_rt Drop fixxfdi.c for m68k (where double =...



details:   https://anonhg.NetBSD.org/src/rev/6e8c940c607c
branches:  trunk
changeset: 344445:6e8c940c607c
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Mar 30 07:25:33 2016 +0000

description:
Drop fixxfdi.c for m68k (where double == long double and this isn't needed
but causes duplicate symbols with softfloat, if compiling MKSOFTFLOAT=yes)

diffstat:

 lib/libc/compiler_rt/Makefile.inc |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 7d841e581acb -r 6e8c940c607c lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Wed Mar 30 05:55:04 2016 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Wed Mar 30 07:25:33 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.30 2016/03/26 07:31:11 martin Exp $
+# $NetBSD: Makefile.inc,v 1.31 2016/03/30 07:25:33 martin Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -84,7 +84,6 @@
        fixunssfsi.c \
        fixunsxfdi.c \
        fixunsxfsi.c \
-       fixxfdi.c \
        floatdidf.c \
        floatdisf.c \
        floatdixf.c \
@@ -120,6 +119,12 @@
        udivti3.c \
        umodti3.c
 
+.if ${MACHINE_ARCH} != "m68k"
+GENERIC_SRCS+= \
+       fixxfdi.c
+.endif
+
+
 .if ${MACHINE_ARCH} != "aarch64"
 GENERIC_SRCS+= \
        fixunsdfti.c \



Home | Main Index | Thread Index | Old Index