diff options
author | andrew <andrew@FreeBSD.org> | 2013-01-19 04:11:45 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-01-19 04:11:45 +0000 |
commit | 3600c83b820e00959d61600e67e9dcb32ef6b518 (patch) | |
tree | d5e36a7927de79aefe8a3e54aab56174913a7fc4 /lib/libcompiler_rt | |
parent | 109e426da134da0aa0a02bfa0f7bc2c02de562df (diff) | |
download | FreeBSD-src-3600c83b820e00959d61600e67e9dcb32ef6b518.zip FreeBSD-src-3600c83b820e00959d61600e67e9dcb32ef6b518.tar.gz |
Use the compiler-rt version __{u,}divsi3 and __{u,}modsi3 on ARM EABI
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r-- | lib/libcompiler_rt/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 44df5e0..26ce4f7a 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -136,18 +136,22 @@ SRCF+= adddf3 \ addsf3 \ divdf3 \ divsf3 \ - divsi3 \ extendsfdf2 \ fixdfsi \ fixsfsi \ floatsidf \ floatsisf \ - modsi3 \ muldf3 \ mulsf3 \ subdf3 \ subsf3 \ - truncdfsf2 \ + truncdfsf2 +.endif + +.if ${MACHINE_CPUARCH} != "mips" && \ + (${MACHINE_CPUARCH} != "arm" || ${MK_ARM_EABI} != "no") +SRCF+= divsi3 \ + modsi3 \ udivsi3 \ umodsi3 .endif |