]>
Commit | Line | Data |
---|---|---|
c91fba50 JL |
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 | |
70f62f4b DE |
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_OPTIONS = msoft-float | |
17 | #MULTILIB_DIRNAMES = soft v8 | |
18 | MULTILIB_DIRNAMES = soft | |
19 | #MULTILIB_MATCHES = msoft-float=mno-fpu mcpu?v8=mv8 | |
20 | MULTILIB_MATCHES = msoft-float=mno-fpu | |
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 |