]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/gcc/config/sparc/t-elf
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / gcc / config / sparc / t-elf
1 LIB1ASMSRC = sparc/lb1spc.asm
2 LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3
3
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
8
9 dp-bit.c: $(srcdir)/config/fp-bit.c
10         cat $(srcdir)/config/fp-bit.c > dp-bit.c
11
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
15
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
21
22 LIBGCC = stmp-multilib
23 INSTALL_LIBGCC = install-multilib
24
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