OSDN Git Service

Change callers in config/[n-z]*/ (the rest) to match:
[pf3gnuchains/gcc-fork.git] / gcc / config / sparc / t-elf
1 # we need to supply our own assembly versions of libgcc1.c files,
2 # since the user may not have native 'cc' available
3
4 CROSS_LIBGCC1 = libgcc1-asm.a
5 LIB1ASMSRC = sparc/lb1spc.asm
6 LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3
7
8 # crt0 is built elsewhere
9 LIBGCC1_TEST =
10
11 # We want fine grained libraries, so use the new code to build the
12 # floating point emulation libraries.
13 FPBIT = fp-bit.c
14 DPBIT = dp-bit.c
15
16 dp-bit.c: $(srcdir)/config/fp-bit.c
17         cat $(srcdir)/config/fp-bit.c > dp-bit.c
18
19 fp-bit.c: $(srcdir)/config/fp-bit.c
20         echo '#define FLOAT' > fp-bit.c
21         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
22
23 # MULTILIB_OPTIONS should have msparclite too, but we'd have to make
24 # gas build...
25 #MULTILIB_OPTIONS = msoft-float mcpu=v8
26 MULTILIB_OPTIONS = msoft-float
27 #MULTILIB_DIRNAMES = soft v8
28 MULTILIB_DIRNAMES = soft
29 #MULTILIB_MATCHES = msoft-float=mno-fpu mcpu?v8=mv8
30 MULTILIB_MATCHES = msoft-float=mno-fpu
31
32 LIBGCC = stmp-multilib
33 INSTALL_LIBGCC = install-multilib
34
35 # Assemble startup files.
36 crti.o: $(srcdir)/config/sparc/sol2-ci.asm $(GCC_PASSES)
37         $(GCC_FOR_TARGET) -c -o crti.o -x assembler $(srcdir)/config/sparc/sol2-ci.asm
38 crtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(GCC_PASSES)
39         $(GCC_FOR_TARGET) -c -o crtn.o -x assembler $(srcdir)/config/sparc/sol2-cn.asm