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 .endif
# These are already shipped by libc.a on some architectures. # These are already shipped by libc.a on some architectures.
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" && \ .if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "riscv"
${MACHINE_CPUARCH} != "riscv"
SRCF+= adddf3 SRCF+= adddf3
SRCF+= addsf3 SRCF+= addsf3
SRCF+= divdf3 SRCF+= divdf3
@ -207,7 +206,7 @@ SRCF+= subsf3
SRCF+= truncdfsf2 SRCF+= truncdfsf2
.endif .endif
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" .if ${MACHINE_CPUARCH} != "arm"
SRCF+= comparedf2 SRCF+= comparedf2
SRCF+= comparesf2 SRCF+= comparesf2
.endif .endif
@ -218,10 +217,6 @@ SRCF+= comparesf2
SRCF+= stdatomic SRCF+= stdatomic
CFLAGS+= -DEMIT_SYNC_ATOMICS CFLAGS+= -DEMIT_SYNC_ATOMICS
.elif ${MACHINE_CPUARCH} == "mips"
.PATH: ${SRCTOP}/sys/mips/mips
SRCF+= stdatomic
.endif .endif
.for file in ${SRCF} .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 # Don't include long double routines on architectures where long double
# is the same size as double. # is the same size as double.
.if ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" && \ .if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "powerpc"
${MACHINE_CPUARCH} != "powerpc"
SRCS+= s_fmaxl.c SRCS+= s_fmaxl.c
SRCS+= s_logbl.c SRCS+= s_logbl.c
SRCS+= s_scalbnl.c SRCS+= s_scalbnl.c