xref: /openbsd-src/gnu/usr.bin/gcc/gcc/config/sparc/t-sparcbare (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1# configuration file for a bare sparc cpu
2
3LIB1ASMSRC = sparc/lb1spc.asm
4LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3
5
6# We want fine grained libraries, so use the new code to build the
7# floating point emulation libraries.
8FPBIT = fp-bit.c
9DPBIT = dp-bit.c
10
11dp-bit.c: $(srcdir)/config/fp-bit.c
12	cat $(srcdir)/config/fp-bit.c > dp-bit.c
13
14fp-bit.c: $(srcdir)/config/fp-bit.c
15	echo '#define FLOAT' > fp-bit.c
16	cat $(srcdir)/config/fp-bit.c >> fp-bit.c
17
18# MULTILIB_OPTIONS should have msparclite too, but we'd have to make
19# gas build...
20MULTILIB_OPTIONS = msoft-float mcpu=v8
21MULTILIB_DIRNAMES = soft v8
22MULTILIB_MATCHES = msoft-float=mno-fpu mcpu?v8=mv8
23
24LIBGCC = stmp-multilib
25INSTALL_LIBGCC = install-multilib
26