]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/sparc/t-elf
t-elf (sparc-rtems, sparc-elf): Build assembly support routines.
[thirdparty/gcc.git] / 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 $(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 $(srcdir)/config/sparc/sol2-cn.asm