Enable libcompiler-rt on MIPS.
Originally we disabled libcompiler-rt on MIPS and SPARC64, because of an issue where __clzdi2 and __ctzdi2 would cause endless recursion. This bug has been fixed in r230021 already, but for some reason we only switched to libcompiler-rt on SPARC64 -- not MIPS. This means we can finally use <stdatomic.h> on all our architectures.
This commit is contained in:
parent
e1ee2f21d9
commit
108b6de211
@ -19,10 +19,6 @@ MK_SSP= no
|
||||
CFLAGS+= -DTARGET_ARM_EABI
|
||||
.endif
|
||||
|
||||
.if ${TARGET_CPUARCH} == "mips"
|
||||
LIB= gcc
|
||||
.endif
|
||||
|
||||
.PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}/config ${GCCDIR}
|
||||
|
||||
CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
|
||||
|
@ -196,13 +196,11 @@ SRCS+= aeabi_idivmod.S \
|
||||
aeabi_uldivmod.S
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} != "mips"
|
||||
. if ${MK_INSTALLLIB} != "no"
|
||||
.if ${MK_INSTALLLIB} != "no"
|
||||
SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a
|
||||
. endif
|
||||
. if ${MK_PROFILE} != "no"
|
||||
.endif
|
||||
.if ${MK_PROFILE} != "no"
|
||||
SYMLINKS+=libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \
|
||||
|
Loading…
Reference in New Issue
Block a user