Merge from the pain train
[official-gcc.git] / gcc / config / sparc / t-elf
blob6868736a17827c0939e6f79a3b86fa22a41e31ba
1 LIB1ASMSRC = sparc/lb1spc.asm
2 LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3
4 # We want fine grained libraries, so use the new code to build the
5 # floating point emulation libraries.
6 FPBIT = fp-bit.c
7 DPBIT = dp-bit.c
9 dp-bit.c: $(srcdir)/config/fp-bit.c
10         cat $(srcdir)/config/fp-bit.c > dp-bit.c
12 fp-bit.c: $(srcdir)/config/fp-bit.c
13         echo '#define FLOAT' > fp-bit.c
14         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
16 # MULTILIB_OPTIONS should have msparclite too, but we'd have to make
17 # gas build...
18 MULTILIB_OPTIONS = msoft-float mcpu=v8
19 MULTILIB_DIRNAMES = soft v8
20 MULTILIB_MATCHES = msoft-float=mno-fpu mcpu?v8=mv8
22 LIBGCC = stmp-multilib
23 INSTALL_LIBGCC = install-multilib
25 # Assemble startup files.
26 crti.o: $(srcdir)/config/sparc/sol2-ci.asm $(GCC_PASSES)
27         $(GCC_FOR_TARGET) -c -o crti.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-ci.asm
28 crtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(GCC_PASSES)
29         $(GCC_FOR_TARGET) -c -o crtn.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-cn.asm