Don't compile softfloat or integer support routines on 68000
machines, they have this support already in libgcc.
This commit is contained in:
parent
0adcac34e5
commit
eba34d8c90
@ -1,14 +1,27 @@
|
||||
# $NetBSD: Makefile.inc,v 1.12 1999/12/23 10:15:07 kleink Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.13 2001/06/13 18:05:32 fredette Exp $
|
||||
|
||||
SRCS+= alloca.S fabs.S frexp.c infinity.c isinf.c isnan.c modf.S nanf.c
|
||||
SRCS+= alloca.S fabs.S frexp.c infinity.c isinf.c isnan.c nanf.c
|
||||
SRCS+= ashlsi3.S ashrsi3.S \
|
||||
lshlsi3.S lshrsi3.S \
|
||||
negdf2.S negsf2.S
|
||||
SRCS+= bswap16.S bswap32.S bswap64.S
|
||||
|
||||
# 68000-based machines build with a libgcc that includes
|
||||
# much of the (soft)float and integer support that would
|
||||
# otherwise be compiled here.
|
||||
.if ${MACHINE_ARCH} == "m68000"
|
||||
SRCS+= modf_softfloat.c
|
||||
SRCS+= flt_rounds_softfloat.S
|
||||
.else
|
||||
SRCS+= modf.S
|
||||
SRCS+= flt_rounds.S fpgetmask.S fpgetround.S fpgetsticky.S fpsetmask.S \
|
||||
fpsetround.S fpsetsticky.S
|
||||
SRCS+= adddf3.S addsf3.S ashlsi3.S ashrsi3.S cmpdf2.S cmpsf2.S divdf3.S \
|
||||
SRCS+= adddf3.S addsf3.S cmpdf2.S cmpsf2.S divdf3.S \
|
||||
divsf3.S divsi3.S extendsfdf2.S fixdfsi.S fixunsdfsi.S \
|
||||
floatsidf.S lshlsi3.S lshrsi3.S modsi3.S muldf3.S mulsf3.S mulsi3.S \
|
||||
negdf2.S negsf2.S subdf3.S subsf3.S truncdfsf2.S udivsi3.S \
|
||||
floatsidf.S modsi3.S muldf3.S mulsf3.S mulsi3.S \
|
||||
subdf3.S subsf3.S truncdfsf2.S udivsi3.S \
|
||||
umodsi3.S umulsi3.S
|
||||
SRCS+= bswap16.S bswap32.S bswap64.S
|
||||
.endif
|
||||
|
||||
SRCS+= setjmp.S __setjmp14.S
|
||||
SRCS+= _setjmp.S
|
||||
@ -18,6 +31,8 @@ SRCS+= sigsetjmp.S __sigsetjmp14.S
|
||||
SRCS+= ldexp_040.c
|
||||
.elifdef M68060
|
||||
SRCS+= ldexp_040.c
|
||||
.elif ${MACHINE_ARCH} == "m68000"
|
||||
SRCS+= ldexp_softfloat.c
|
||||
.else
|
||||
SRCS+= ldexp_881.c
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user