1 # Just for these, we omit the frame pointer since it makes such a big
2 # difference. It is then pointless adding debugging.
3 TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer
4 LIBGCC2_DEBUG_CFLAGS = -g0
9 LIB1ASMSRC = arm/lib1funcs.asm
10 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
12 #Don't try to run fixproto
15 # We want fine grained libraries, so use the new code to build the
16 # floating point emulation libraries.
20 fp-bit.c: $(srcdir)/config/fp-bit.c
21 echo '#ifdef __SOFTFP__' > fp-bit.c
22 echo '#define FLOAT' >> fp-bit.c
23 echo '#ifndef __ARMEB__' >> fp-bit.c
24 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
25 echo '#endif' >> fp-bit.c
26 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
27 echo '#endif' >> fp-bit.c
29 dp-bit.c: $(srcdir)/config/fp-bit.c
30 echo '#ifdef __SOFTFP__' > dp-bit.c
31 echo '#ifndef __ARMEB__' >> dp-bit.c
32 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
33 echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
34 echo '#endif' >> dp-bit.c
35 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
36 echo '#endif' >> dp-bit.c
38 MULTILIB_OPTIONS = msoft-float mapcs-26 mbig-endian mwords-little-endian
39 MULTILIB_DIRNAMES = soft apcs26 big wlittle
40 MULTILIB_EXCEPTIONS = *mapcs-26/*mbig-endian* mwords-little-endian *mapcs-26/mwords-little-endian msoft-float/mwords-little-endian
42 LIBGCC = stmp-multilib
43 INSTALL_LIBGCC = install-multilib