From e2a4bdf63c7b90a3468e3ea56056a357876d697f Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 22 Oct 1995 14:40:17 +0000 Subject: [PATCH] limit the number of functions we pull in for 'i386'. I still belive this stuff should go back into gcc. --- lib/libc/quad/Makefile.inc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/libc/quad/Makefile.inc b/lib/libc/quad/Makefile.inc index 627357428d1..15ff6359051 100644 --- a/lib/libc/quad/Makefile.inc +++ b/lib/libc/quad/Makefile.inc @@ -1,10 +1,20 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 -# Quad support +# Quad support, if needed + +.if ${MACHINE} == "i386" + +SRCS+= cmpdi2.c \ + divdi3.c moddi3.c udivdi3.c umoddi3.c qdivrem.c + +.else + SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c fixdfdi.c \ fixsfdi.c fixunsdfdi.c fixunssfdi.c floatdidf.c floatdisf.c \ floatunsdidf.c iordi3.c lshldi3.c lshrdi3.c moddi3.c muldi3.c \ negdi2.c notdi2.c qdivrem.c subdi3.c ucmpdi2.c udivdi3.c umoddi3.c \ xordi3.c +.endif + .PATH: ${.CURDIR}/${MACHINE}/quad ${.CURDIR}/quad