1 CROSS_LIBGCC1 = libgcc1-asm.a
2 LIB1ASMSRC = arm/lib1funcs.asm
3 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
5 # We want fine grained libraries, so use the new code to build the
6 # floating point emulation libraries.
10 fp-bit.c: $(srcdir)/config/fp-bit.c
11 echo '#define FLOAT' > fp-bit.c
12 echo '#ifndef __ARMEB__' >> fp-bit.c
13 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
14 echo '#endif' >> fp-bit.c
15 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
17 dp-bit.c: $(srcdir)/config/fp-bit.c
18 echo '#ifndef __ARMEB__' > dp-bit.c
19 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
20 echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
21 echo '#endif' >> dp-bit.c
22 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
24 pe.o: $(srcdir)/config/arm/pe.c
25 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/arm/pe.c
27 MULTILIB_OPTIONS = mhard-float mthumb
28 MULTILIB_DIRNAMES = fpu thumb
30 LIBGCC = stmp-multilib
31 INSTALL_LIBGCC = install-multilib
32 TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc