1LIB1ASMSRC = sh/lib1funcs.asm 2LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movstr \ 3 _movstr_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr \ 4 $(LIB1ASMFUNCS_CACHE) 5 6LIB2FUNCS_EXTRA=embed-bb.c 7 8embed-bb.c: $(srcdir)/libgcc2.c 9 echo '#ifdef inhibit_libc' > $@ 10 echo '#define L_bb' >> $@ 11 echo '#undef inhibit_libc' >> $@ 12 cat $< >> $@ 13 echo '#endif' >> $@ 14 15# We want fine grained libraries, so use the new code to build the 16# floating point emulation libraries. 17FPBIT = fp-bit.c 18DPBIT = dp-bit.c 19 20dp-bit.c: $(srcdir)/config/fp-bit.c 21 echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c 22 echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c 23 echo '#endif' >> dp-bit.c 24 cat $(srcdir)/config/fp-bit.c >> dp-bit.c 25 26fp-bit.c: $(srcdir)/config/fp-bit.c 27 echo '#define FLOAT' > fp-bit.c 28 echo '#ifdef __LITTLE_ENDIAN__' >> 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 33MULTILIB_ENDIAN = ml 34MULTILIB_OPTIONS= $(MULTILIB_ENDIAN) m2/m3e/m4-single-only/m4-single/m4 35MULTILIB_DIRNAMES= 36MULTILIB_MATCHES = m2=m3 m2=m4-nofpu 37MULTILIB_EXCEPTIONS = ml 38 39LIBGCC = stmp-multilib 40INSTALL_LIBGCC = install-multilib 41 42$(T)crt1.o: $(srcdir)/config/sh/crt1.asm $(GCC_PASSES) 43 $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1.o -x assembler-with-cpp $(srcdir)/config/sh/crt1.asm 44$(T)crti.o: $(srcdir)/config/sh/crti.asm $(GCC_PASSES) 45 $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/sh/crti.asm 46$(T)crtn.o: $(srcdir)/config/sh/crtn.asm $(GCC_PASSES) 47 $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/sh/crtn.asm 48 49$(out_object_file): gt-sh.h 50gt-sh.h : s-gtype ; @true 51 52# These are not suitable for COFF. 53# EXTRA_MULTILIB_PARTS= crt1.o crti.o crtn.o crtbegin.o crtend.o 54