Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/compiler_rt Complex division for long double uses d...



details:   https://anonhg.NetBSD.org/src/rev/572eb088f771
branches:  trunk
changeset: 803205:572eb088f771
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Oct 17 14:53:59 2014 +0000

description:
Complex division for long double uses different function names on PPC.

diffstat:

 lib/libm/compiler_rt/Makefile.inc |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 8b9fc19fd718 -r 572eb088f771 lib/libm/compiler_rt/Makefile.inc
--- a/lib/libm/compiler_rt/Makefile.inc Fri Oct 17 14:38:43 2014 +0000
+++ b/lib/libm/compiler_rt/Makefile.inc Fri Oct 17 14:53:59 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.6 2014/06/13 01:17:45 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.7 2014/10/17 14:53:59 joerg Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -22,6 +22,12 @@
        divdc3.c \
        divsc3.c
 
+.if ${MACHINE_ARCH} == "powerpc"
+GENERIC_SRCS+= \
+       divtc3.c \
+       multc3.c
+.endif
+
 .for src in ${GENERIC_SRCS}
 .  if exists(${COMPILER_RT_CPU_DIR}/${src:R}.S) || \
       exists(${COMPILER_RT_ARCH_DIR}/${src:R}.S)



Home | Main Index | Thread Index | Old Index