1# Just for these, we omit the frame pointer since it makes such a big 2# difference. It is then pointless adding debugging. 3TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer 4LIBGCC2_DEBUG_CFLAGS = -g0 5 6# Don't build enquire 7ENQUIRE= 8 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. 11LIBGCC1_TEST = 12 13CROSS_LIBGCC1 = libgcc1-asm.a 14LIB1ASMSRC = arm/lib1funcs.asm 15LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX 16 17#Don't try to run fixproto 18STMP_FIXPROTO = 19 20# These are really part of libgcc1, but this will cause them to be 21# built correctly, so... 22 23LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c 24 25fp-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 33 34dp-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 42 43MULTILIB_OPTIONS = msoft-float mapcs-26 mbig-endian mwords-little-endian 44MULTILIB_DIRNAMES = soft apcs26 big wlittle 45MULTILIB_EXCEPTIONS = *mapcs-26/*mbig-endian* mwords-little-endian *mapcs-26/mwords-little-endian msoft-float/mwords-little-endian 46 47LIBGCC = stmp-multilib 48INSTALL_LIBGCC = install-multilib 49