Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.cpu.mk
Show First 20 Lines • Show All 318 Lines • ▼ Show 20 Lines | |||||
LDFLAGS+= -${MIPS_ENDIAN} -mabi=${MIPS_ABI} | LDFLAGS+= -${MIPS_ENDIAN} -mabi=${MIPS_ABI} | ||||
. if ${MACHINE_ARCH:Mmips*el*} != "" | . if ${MACHINE_ARCH:Mmips*el*} != "" | ||||
MIPS_ENDIAN= EL | MIPS_ENDIAN= EL | ||||
. else | . else | ||||
MIPS_ENDIAN= EB | MIPS_ENDIAN= EB | ||||
. endif | . endif | ||||
. if ${MACHINE_ARCH:Mmips64*} != "" | . if ${MACHINE_ARCH:Mmips64*} != "" | ||||
MIPS_ABI?= 64 | MIPS_ABI?= 64 | ||||
CFLAGS.clang+= -integrated-as | |||||
kevans: Whoops... this is clearly unrelated, but still stolen from jhb's mips_clang branch. | |||||
arichardsonUnsubmitted Not Done Inline ActionsI can remember if integrated as is now enabled by default for mips64. If not we might still need this change. arichardson: I can remember if integrated as is now enabled by default for mips64. If not we might still… | |||||
kevansAuthorUnsubmitted Done Inline ActionsThe original commit was unclear- this was addressing some build breakage, yeah? mips64 built fine without it, but it inadvertently rode in with the TLS fixes that I merged in locally after discovering that the mips64 world was completely hosed. kevans: The original commit was unclear- this was addressing some build breakage, yeah? mips64 built… | |||||
jrtc27Unsubmitted Not Done Inline ActionsYes, the integrated assembler has been the default everywhere on MIPS since LLVM r348934/r348935 (part of 8.0.0), but was also enabled by default on FreeBSD since LLVM r336004 (part of 7.0.0), so this is no longer needed unless you want to support older compilers. jrtc27: Yes, the integrated assembler has been the default everywhere on MIPS since LLVM… | |||||
. elif ${MACHINE_ARCH:Mmipsn32*} != "" | . elif ${MACHINE_ARCH:Mmipsn32*} != "" | ||||
MIPS_ABI?= n32 | MIPS_ABI?= n32 | ||||
. else | . else | ||||
MIPS_ABI?= 32 | MIPS_ABI?= 32 | ||||
. endif | . endif | ||||
. if ${MACHINE_ARCH:Mmips*hf} | . if ${MACHINE_ARCH:Mmips*hf} | ||||
CFLAGS += -mhard-float | CFLAGS += -mhard-float | ||||
. else | . else | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |
Whoops... this is clearly unrelated, but still stolen from jhb's mips_clang branch.