summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-01-19 02:28:44 +0000
committerandrew <andrew@FreeBSD.org>2013-01-19 02:28:44 +0000
commitf2ad512ac756b1b261350e839de0d10ff085688f (patch)
tree489e1bd5b23368e66161fff88c4e0e7a7b97d299 /lib/libcompiler_rt
parent22ef5193ef80b0ac10e044721a076fa93c1e8742 (diff)
downloadFreeBSD-src-f2ad512ac756b1b261350e839de0d10ff085688f.zip
FreeBSD-src-f2ad512ac756b1b261350e839de0d10ff085688f.tar.gz
Add the __aeabi_*divmod functions to the compiler-rt build
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r--lib/libcompiler_rt/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile
index af1fcb6..72b55d8 100644
--- a/lib/libcompiler_rt/Makefile
+++ b/lib/libcompiler_rt/Makefile
@@ -181,6 +181,13 @@ SRCS+= ${file}.c
. endif
.endfor
+.if ${MACHINE_CPUARCH} == "arm" && ${MK_ARM_EABI} != "no"
+SRCS+= aeabi_idivmod.S \
+ aeabi_ldivmod.S \
+ aeabi_uidivmod.S \
+ aeabi_uldivmod.S
+.endif
+
.if ${MACHINE_CPUARCH} != "mips"
. if ${MK_INSTALLLIB} != "no"
SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a
OpenPOWER on IntegriCloud