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 # Can't test libgcc1 since it tries to bring in things like malloc, and
10 # there probably isn't a libc to link against until we have a compiler.
13 CROSS_LIBGCC1 = libgcc1-asm.a
14 LIB1ASMSRC = arm/lib1funcs.asm
15 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
17 #Don't try to run fixproto
20 # We want fine grained libraries, so use the new code to build the
21 # floating point emulation libraries.
25 fp-bit.c: $(srcdir)/config/fp-bit.c
26 echo '#ifdef __SOFTFP__' > fp-bit.c
27 echo '#define FLOAT' >> fp-bit.c
28 echo '#ifndef __ARMEB__' >> fp-bit.c
29 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
30 echo '#endif' >> fp-bit.c
31 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
32 echo '#endif' >> fp-bit.c
34 dp-bit.c: $(srcdir)/config/fp-bit.c
35 echo '#ifdef __SOFTFP__' > dp-bit.c
36 echo '#ifndef __ARMEB__' >> dp-bit.c
37 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
38 echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
39 echo '#endif' >> dp-bit.c
40 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
41 echo '#endif' >> dp-bit.c
43 MULTILIB_OPTIONS = msoft-float mapcs-26 mbig-endian mwords-little-endian
44 MULTILIB_DIRNAMES = soft apcs26 big wlittle
45 MULTILIB_EXCEPTIONS = *mapcs-26/*mbig-endian* mwords-little-endian *mapcs-26/mwords-little-endian msoft-float/mwords-little-endian
47 LIBGCC = stmp-multilib
48 INSTALL_LIBGCC = install-multilib