libcompiler_rt/libgcc_s: Remove MIPS build glue.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D39328
This commit is contained in:
John Baldwin 2023-03-29 15:05:42 -07:00
parent 7d8e1e8dd9
commit 1ab9996fb5
2 changed files with 3 additions and 9 deletions

View File

@ -189,8 +189,7 @@ SRCF+= trunctfsf2
.endif
# These are already shipped by libc.a on some architectures.
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" && \
${MACHINE_CPUARCH} != "riscv"
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "riscv"
SRCF+= adddf3
SRCF+= addsf3
SRCF+= divdf3
@ -207,7 +206,7 @@ SRCF+= subsf3
SRCF+= truncdfsf2
.endif
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
.if ${MACHINE_CPUARCH} != "arm"
SRCF+= comparedf2
SRCF+= comparesf2
.endif
@ -218,10 +217,6 @@ SRCF+= comparesf2
SRCF+= stdatomic
CFLAGS+= -DEMIT_SYNC_ATOMICS
.elif ${MACHINE_CPUARCH} == "mips"
.PATH: ${SRCTOP}/sys/mips/mips
SRCF+= stdatomic
.endif
.for file in ${SRCF}

View File

@ -48,8 +48,7 @@ SRCS+= s_scalbnf.c
# Don't include long double routines on architectures where long double
# is the same size as double.
.if ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" && \
${MACHINE_CPUARCH} != "powerpc"
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "powerpc"
SRCS+= s_fmaxl.c
SRCS+= s_logbl.c
SRCS+= s_scalbnl.c