OSDN Git Service

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