LIBGCC1=libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
LIB1ASMSRC =
LIB1ASMFUNCS =

LIBGCC1_TEST =

ADA_CFLAGS=-mdisable-indexing

LIB2FUNCS_EXTRA=fp-bit.c dp-bit.c lib2funcs.asm ee.asm ee_fp.asm

dp-bit.c: $(srcdir)/config/fp-bit.c
	cat $(srcdir)/config/fp-bit.c > dp-bit.c

fp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#define FLOAT' > fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> fp-bit.c

lib2funcs.asm: $(srcdir)/config/pa/lib2funcs.asm
	rm -f lib2funcs.asm
	cp $(srcdir)/config/pa/lib2funcs.asm .

ee.asm: $(srcdir)/config/pa/ee.asm
	rm -f ee.asm
	cp $(srcdir)/config/pa/ee.asm .

ee_fp.asm: $(srcdir)/config/pa/ee_fp.asm
	rm -f ee_fp.asm
	cp $(srcdir)/config/pa/ee_fp.asm .

# Build the libraries for both speed and space optimizations

MULTILIB_OPTIONS=mspace
MULTILIB_DIRNAMES=space
MULTILIB_MATCHES=

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
