1LIB1ASMSRC = arm/lib1funcs.asm 2LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX 3 4# We want fine grained libraries, so use the new code to build the 5# floating point emulation libraries. 6FPBIT = fp-bit.c 7DPBIT = dp-bit.c 8 9fp-bit.c: $(srcdir)/config/fp-bit.c 10 echo '#define FLOAT' > fp-bit.c 11 echo '#ifndef __ARMEB__' >> fp-bit.c 12 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c 13 echo '#endif' >> fp-bit.c 14 cat $(srcdir)/config/fp-bit.c >> fp-bit.c 15 16dp-bit.c: $(srcdir)/config/fp-bit.c 17 echo '#ifndef __ARMEB__' > dp-bit.c 18 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c 19 echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c 20 echo '#endif' >> dp-bit.c 21 cat $(srcdir)/config/fp-bit.c >> dp-bit.c 22 23pe.o: $(srcdir)/config/arm/pe.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ 24 $(RTL_H) output.h flags.h $(TREE_H) expr.h toplev.h $(TM_P_H) 25 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/arm/pe.c 26 27MULTILIB_OPTIONS = mhard-float mapcs-26 28MULTILIB_DIRNAMES = fpu apcs26 29# Note - Thumb multilib omitted because Thumb apcs32 support for 30# arm-wince-pe target does not appear to be working in binutils 31# yet... 32# MULTILIB_OPTIONS += thumb 33# MULTILIB_DIRNAMES += thumb 34 35LIBGCC = stmp-multilib 36INSTALL_LIBGCC = install-multilib 37TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc 38