190075Sobrien# Just for these, we omit the frame pointer since it makes such a big 290075Sobrien# difference. It is then pointless adding debugging. 390075SobrienTARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer 490075SobrienLIBGCC2_DEBUG_CFLAGS = -g0 590075Sobrien 690075SobrienLIB1ASMSRC = arm/lib1funcs.asm 790075SobrienLIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX 890075Sobrien 990075Sobrien# We want fine grained libraries, so use the new code to build the 1090075Sobrien# floating point emulation libraries. 1190075SobrienFPBIT = fp-bit.c 1290075SobrienDPBIT = dp-bit.c 1390075Sobrien 1490075Sobrienfp-bit.c: $(srcdir)/config/fp-bit.c 1590075Sobrien echo '#ifdef __SOFTFP__' > fp-bit.c 1690075Sobrien echo '#define FLOAT' >> fp-bit.c 1790075Sobrien echo '#ifndef __ARMEB__' >> fp-bit.c 1890075Sobrien echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c 1990075Sobrien echo '#endif' >> fp-bit.c 2090075Sobrien cat $(srcdir)/config/fp-bit.c >> fp-bit.c 2190075Sobrien echo '#endif' >> fp-bit.c 2290075Sobrien 2390075Sobriendp-bit.c: $(srcdir)/config/fp-bit.c 2490075Sobrien echo '#ifdef __SOFTFP__' > dp-bit.c 2590075Sobrien echo '#ifndef __ARMEB__' >> dp-bit.c 2690075Sobrien echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c 2790075Sobrien echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c 2890075Sobrien echo '#endif' >> dp-bit.c 2990075Sobrien cat $(srcdir)/config/fp-bit.c >> dp-bit.c 3090075Sobrien echo '#endif' >> dp-bit.c 3190075Sobrien 32169689SkanMULTILIB_OPTIONS = msoft-float mbig-endian mwords-little-endian 33169689SkanMULTILIB_DIRNAMES = soft big wlittle 34169689SkanMULTILIB_EXCEPTIONS = mwords-little-endian msoft-float/mwords-little-endian 3590075Sobrien 3690075SobrienLIBGCC = stmp-multilib 3790075SobrienINSTALL_LIBGCC = install-multilib 38