Makefile.inc (96ab5023fd4b7de7df2627ce7c495292c468ba72) | Makefile.inc (1ab9996fb5fafce958fc0d22f68ee16a50d56638) |
---|---|
1# $FreeBSD$ 2 3CRTARCH= ${MACHINE_CPUARCH:C/amd64/x86_64/} 4 5CRTSRC= ${SRCTOP}/contrib/llvm-project/compiler-rt/lib/builtins 6 7.PATH: ${CRTSRC}/${CRTARCH} 8.PATH: ${CRTSRC} --- 175 unchanged lines hidden (view full) --- 184SRCF+= multf3 185SRCF+= subtf3 186SRCF+= trunctfdf2 187SRCF+= trunctfhf2 188SRCF+= trunctfsf2 189.endif 190 191# These are already shipped by libc.a on some architectures. | 1# $FreeBSD$ 2 3CRTARCH= ${MACHINE_CPUARCH:C/amd64/x86_64/} 4 5CRTSRC= ${SRCTOP}/contrib/llvm-project/compiler-rt/lib/builtins 6 7.PATH: ${CRTSRC}/${CRTARCH} 8.PATH: ${CRTSRC} --- 175 unchanged lines hidden (view full) --- 184SRCF+= multf3 185SRCF+= subtf3 186SRCF+= trunctfdf2 187SRCF+= trunctfhf2 188SRCF+= trunctfsf2 189.endif 190 191# These are already shipped by libc.a on some architectures. |
192.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" && \ 193 ${MACHINE_CPUARCH} != "riscv" | 192.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "riscv" |
194SRCF+= adddf3 195SRCF+= addsf3 196SRCF+= divdf3 197SRCF+= divsf3 198SRCF+= extendsfdf2 199SRCF+= fixdfsi 200SRCF+= fixsfsi 201SRCF+= floatsidf 202SRCF+= floatsisf 203SRCF+= muldf3 204SRCF+= mulsf3 205SRCF+= subdf3 206SRCF+= subsf3 207SRCF+= truncdfsf2 208.endif 209 | 193SRCF+= adddf3 194SRCF+= addsf3 195SRCF+= divdf3 196SRCF+= divsf3 197SRCF+= extendsfdf2 198SRCF+= fixdfsi 199SRCF+= fixsfsi 200SRCF+= floatsidf 201SRCF+= floatsisf 202SRCF+= muldf3 203SRCF+= mulsf3 204SRCF+= subdf3 205SRCF+= subsf3 206SRCF+= truncdfsf2 207.endif 208 |
210.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" | 209.if ${MACHINE_CPUARCH} != "arm" |
211SRCF+= comparedf2 212SRCF+= comparesf2 213.endif 214 215# FreeBSD-specific atomic intrinsics. 216.if ${MACHINE_CPUARCH} == "arm" 217.PATH: ${SRCTOP}/sys/arm/arm 218 219SRCF+= stdatomic 220CFLAGS+= -DEMIT_SYNC_ATOMICS | 210SRCF+= comparedf2 211SRCF+= comparesf2 212.endif 213 214# FreeBSD-specific atomic intrinsics. 215.if ${MACHINE_CPUARCH} == "arm" 216.PATH: ${SRCTOP}/sys/arm/arm 217 218SRCF+= stdatomic 219CFLAGS+= -DEMIT_SYNC_ATOMICS |
221.elif ${MACHINE_CPUARCH} == "mips" 222.PATH: ${SRCTOP}/sys/mips/mips 223 224SRCF+= stdatomic | |
225.endif 226 227.for file in ${SRCF} 228.if ${MACHINE_CPUARCH} == "arm" && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") \ 229 && exists(${CRTSRC}/${CRTARCH}/${file}vfp.S) 230SRCS+= ${file}vfp.S 231. elif exists(${CRTSRC}/${CRTARCH}/${file}.S) 232SRCS+= ${file}.S --- 25 unchanged lines hidden --- | 220.endif 221 222.for file in ${SRCF} 223.if ${MACHINE_CPUARCH} == "arm" && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") \ 224 && exists(${CRTSRC}/${CRTARCH}/${file}vfp.S) 225SRCS+= ${file}vfp.S 226. elif exists(${CRTSRC}/${CRTARCH}/${file}.S) 227SRCS+= ${file}.S --- 25 unchanged lines hidden --- |