Commit 587dc9c6 by Nathanael Nerode

config.gcc: Do per-target disabling of fixproto here in clauses, not in t- fragments.

	* config.gcc: Do per-target disabling of fixproto here in clauses,
	not in t- fragments.
	* configure.in: Adjust to set STMP_FIXPROTO correctly.
	* configure: Regenerate.
	* config/arm/t-semi, config/cris/t-cris, config/i386/t-beos,
	config/i386/t-cygming, config/i386/t-nto, config/ia64/t-hpux,
	t-freebsd, t-linux, t-netbsd, t-openbsd, t-rtems, t-vxworks,
	xtensa/t-xtensa: Remove setting of STMP_FIXPROTO.
	* config/i370/t-oe, config/i386/t-netware, config/pa/t-bsd,
	t-interix, t-linux-aout:  Delete files consisting only of
	setting of STMP_FIXPROTO.

From-SVN: r71687
parent d064c269
......@@ -6,9 +6,6 @@ LIBGCC2_DEBUG_CFLAGS = -g0
LIB1ASMSRC = arm/lib1funcs.asm
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
#Don't try to run fixproto
STMP_FIXPROTO =
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
......
......@@ -7,9 +7,6 @@
# The makefile macros etc. are included in the order found in the
# section "Target Fragment" in the gcc info-files (or the paper copy) of
# "Using and Porting GCC"
#
# Don't run fixproto
STMP_FIXPROTO =
LIB2FUNCS_EXTRA = _udivsi3.c _divsi3.c _umodsi3.c _modsi3.c
CRIS_LIB1CSRC = $(srcdir)/config/cris/arit.c
......
#
# Target is an i370 running OpenEdition
#
# Don't bother fixing up header files, they're weird
STMP_FIXPROTO =
......@@ -2,6 +2,3 @@
# we are most likely to want to apply any fixes to.
SYSTEM_HEADER_DIR = /boot/develop/headers/posix
CROSS_SYSTEM_HEADER_DIR = $(tooldir)/sys-include/posix
# Don't run fixproto
STMP_FIXPROTO =
......@@ -16,6 +16,4 @@ winnt.o: $(srcdir)/config/i386/winnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(srcdir)/config/i386/winnt.c
# Don't run fixproto
STMP_FIXPROTO=
STMP_FIXINC=stmp-fixinc
# Our header files are supposed to be correct, nein?
STMP_FIXPROTO =
# Don't run fixproto
STMP_FIXPROTO =
CRTSTUFF_T_CFLAGS = -fno-omit-frame-pointer -fPIC
TARGET_LIBGCC2_CFLAGS = -fPIC -fexceptions
......
......@@ -20,13 +20,6 @@ quadlib.c: $(srcdir)/config/ia64/quadlib.c
LIBGCC1_TEST =
# Don't run fix-headers. HP-UX headers are standards conformant
# and don't need to be fixed up in this way.
# If we remove this (and run fix-headers) we should define FIXPROTO_DEFINES
# and also fix the definition of putenv in sys-protos.h (const char not char).
STMP_FIXPROTO =
# We do not want to include the EH stuff that linux uses, we want to use
# the HP-UX libunwind library.
......
# BSD on the PA already has ANSI include files which are c++ compatible.
STMP_FIXPROTO=
# Don't run fixproto
STMP_FIXPROTO =
# Compile crtbeginS.o and crtendS.o with pic.
CRTSTUFF_T_CFLAGS_S = -fPIC
......
# Don't run fixproto
STMP_FIXPROTO =
# Don't run fixproto
STMP_FIXPROTO =
# Compile crtbeginS.o and crtendS.o with pic.
CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC
# Compile libgcc2.a with pic.
......
# Don't run fixproto
STMP_FIXPROTO =
# Don't run fixproto
STMP_FIXPROTO =
# Always build crtstuff with PIC.
CRTSTUFF_T_CFLAGS = -fPIC
# Don't run fixproto
STMP_FIXPROTO =
# We don't need GCC's own include files.
USER_H =
# RTEMS uses newlib which does not require prototype fixing
STMP_FIXPROTO =
# RTEMS always has limits.h.
LIMITS_H_TEST = true
......
# Don't run fixproto.
STMP_FIXPROTO =
# Since we have a functional assert.h, use it.
INSTALL_ASSERT_H =
......
......@@ -8,9 +8,6 @@ fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
# Don't run fixproto
STMP_FIXPROTO =
LIB1ASMSRC = xtensa/lib1funcs.asm
LIB1ASMFUNCS = _mulsi3 _nsau _divsi3 _modsi3 _udivsi3 _umodsi3
......
......@@ -1458,7 +1458,17 @@ CC_FOR_BUILD='$(CC)' AC_SUBST(CC_FOR_BUILD)
BUILD_CFLAGS='$(ALL_CFLAGS)' AC_SUBST(BUILD_CFLAGS)
STMP_FIXINC=stmp-fixinc AC_SUBST(STMP_FIXINC)
STMP_FIXPROTO=stmp-fixproto AC_SUBST(STMP_FIXPROTO)
# Possibly disable fixproto, on a per-target basis.
case ${use_fixproto} in
no)
STMP_FIXPROTO=
;;
yes)
STMP_FIXPROTO=stmp-fixproto
;;
esac
AC_SUBST(STMP_FIXPROTO)
# And these apply if build != host, or we are generating coverage data
if test x$build != x$host || test "x$coverage_flags" != x
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment