From f2ad512ac756b1b261350e839de0d10ff085688f Mon Sep 17 00:00:00 2001 From: andrew Date: Sat, 19 Jan 2013 02:28:44 +0000 Subject: Add the __aeabi_*divmod functions to the compiler-rt build --- lib/libcompiler_rt/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/libcompiler_rt') 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 -- cgit v1.1