2000-12-30 12:14:52 -05:00
|
|
|
# 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.
|
1996-01-15 20:57:28 -05:00
|
|
|
|
2000-12-30 12:14:52 -05:00
|
|
|
# The pushl in CTOR initialization interferes with frame pointer elimination.
|
1996-01-15 20:57:28 -05:00
|
|
|
|
2000-12-30 12:14:52 -05:00
|
|
|
CRTSTUFF_T_CFLAGS = -fPIC -fno-omit-frame-pointer
|
|
|
|
TARGET_LIBGCC2_CFLAGS = -fPIC
|
1999-02-27 07:48:26 -05:00
|
|
|
|
|
|
|
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
|
config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target makefile frag...
* config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
makefile frag, not host makefile frag.
(m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
(hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
used.
(hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
* config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
* config/m88k/t-dgux (STMP_FIXPROTO): Define.
* config/i386/t-cygwin (STMP_FIXPROTO): Define.
* config/i386/t-dgux (STMP_FIXPROTO): Define.
* config/x-interix: Don't define STMP_FIXPROTO and
FIXPROTO_DEFINES.
* config/t-interix: New file, define STMP_FIXPROTO.
* config/i386/x-beos (STMP_FIXPROTO): Don't define here.
* config/i386/t-beos (STMP_FIXPROTO): Define here instead.
* config/t-svr4 (FIXPROTO_DEFINES): Define.
* config/arm/t-riscix (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
* config/m68k/t-hp3200: Renamed from x-hp3200.
* config/i370/t-oe: Renamed from x-oe.
* config/mips/t-iris: Renamed from x-iris.
* config/pa/t-bsd: Renamed from x-pa.
* config/pa/t-pa-hpux: Renamed from x-pa-hpux.
* config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
config/rs6000/x-cygwin: Remove files.
From-SVN: r47052
2001-11-15 08:05:54 -05:00
|
|
|
|
|
|
|
# See all the declarations.
|
|
|
|
FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
|