From 79ef2c64061ff02dc70aa6fa3e3213a547bd4575 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Sat, 19 Jan 2013 02:28:44 +0000 Subject: [PATCH] Add the __aeabi_*divmod functions to the compiler-rt build --- lib/libcompiler_rt/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index af1fcb6e7ff7..72b55d8887b0 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