17b8888b84
2000-12-29 Robert Lipe <robertl@sco.com> Remove COFF support from i?86-pc-sco3.2v5. * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II. (TARGET_ELF): Now always true. (SUBTARGET_SWTICHES: )Remove -mcoff. * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_EXCEPTION): Nuke coff. (CRTSTUFF_T_CFLAGS_S): Deleted. (TARGET_LIBGCC2_CFLAGS): Added. From-SVN: r38565
16 lines
743 B
Plaintext
16 lines
743 B
Plaintext
# We need to use -fPIC when we are using gcc to compile the routines in
|
|
# crtstuff.c. This is only really needed when we are going to use gcc/g++
|
|
# to produce a shared library, but since we don't know ahead of time when
|
|
# we will be doing that, we just always use -fPIC when compiling the
|
|
# routines in crtstuff.c. Likewise for libgcc2.c. This is less painful
|
|
# than multilibbing everything with PIC and PIC-not variants.
|
|
|
|
# The pushl in CTOR initialization interferes with frame pointer elimination.
|
|
|
|
CRTSTUFF_T_CFLAGS = -fPIC -fno-omit-frame-pointer
|
|
TARGET_LIBGCC2_CFLAGS = -fPIC
|
|
|
|
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
|