# The pushl in CTOR initialization interferes with frame pointer elimination.
CRTSTUFF_T_CFLAGS   = -fPIC -fno-omit-frame-pointer
CRTSTUFF_T_CFLAGS_S = -mcoff -fno-omit-frame-pointer

#
# I am still a little unsure of the multilib architecture. The following
# 4 lines are based on advice from meissner@cygnus.com.
#
MULTILIB_OPTIONS    = mcoff/fPIC
MULTILIB_DIRNAMES   = coff pic
MULTILIB_EXCEPTIONS = *mcoff*/*fPIC*
MULTILIB_MATCHES    = fPIC=fpic
MULTILIB_EXTRA_OPTS =

LIBGCC=stmp-multilib
INSTALL_LIBGCC=install-multilib

crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
	sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
	$(GCC_FOR_TARGET) -c -o crti.o crti.s
