diff options
author | Andreas Schwab <schwab@gcc.gnu.org> | 2001-11-15 13:05:54 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2001-11-15 13:05:54 +0000 |
commit | 14455c648ace822ced92370f5a0731a49b61a900 (patch) | |
tree | a3d1d69e98658a6dbe2c54d254badee69582906e /gcc/config | |
parent | 3cae57803c205eafdb88a46c080060d5f061a838 (diff) | |
download | gcc-14455c648ace822ced92370f5a0731a49b61a900.zip gcc-14455c648ace822ced92370f5a0731a49b61a900.tar.gz gcc-14455c648ace822ced92370f5a0731a49b61a900.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
26 files changed, 24 insertions, 51 deletions
diff --git a/gcc/config/arm/t-riscix b/gcc/config/arm/t-riscix index 9e59d8e..0d38cb0 100644 --- a/gcc/config/arm/t-riscix +++ b/gcc/config/arm/t-riscix @@ -2,3 +2,5 @@ # difference. It is then pointless adding debugging. TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer LIBGCC2_DEBUG_CFLAGS = -g0 + +FIXPROTO_DEFINES= -D_POSIX_SOURCE -D_XOPEN_C -D_BSD_C -D_XOPEN_SOURCE diff --git a/gcc/config/arm/x-riscix b/gcc/config/arm/x-riscix deleted file mode 100644 index 7f0b16e..0000000 --- a/gcc/config/arm/x-riscix +++ /dev/null @@ -1 +0,0 @@ -FIXPROTO_DEFINES= -D_POSIX_SOURCE -D_XOPEN_C -D_BSD_C -D_XOPEN_SOURCE diff --git a/gcc/config/i370/x-oe b/gcc/config/i370/t-oe index 045778b..a2130a1 100644 --- a/gcc/config/i370/x-oe +++ b/gcc/config/i370/t-oe @@ -1,5 +1,5 @@ # -# Host is an i370 running OpenEdition +# Target is an i370 running OpenEdition # # Don't bother fixing up header files, they're weird diff --git a/gcc/config/i386/t-beos b/gcc/config/i386/t-beos index b5c8ec2..e545abd 100644 --- a/gcc/config/i386/t-beos +++ b/gcc/config/i386/t-beos @@ -2,3 +2,6 @@ # 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 = diff --git a/gcc/config/i386/t-cygwin b/gcc/config/i386/t-cygwin index b9595c6..68d2ac5 100644 --- a/gcc/config/i386/t-cygwin +++ b/gcc/config/i386/t-cygwin @@ -16,3 +16,6 @@ LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/include \ winnt.o: $(srcdir)/config/i386/winnt.c $(RTL_H) $(TREE_H) $(CONFIG_H) $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c + +# Don't run fixproto +STMP_FIXPROTO = diff --git a/gcc/config/i386/t-dgux b/gcc/config/i386/t-dgux index 1bf024a4..e1bccee 100644 --- a/gcc/config/i386/t-dgux +++ b/gcc/config/i386/t-dgux @@ -6,3 +6,6 @@ EXTRA_PARTS=crti.o crtbegin.o crtend.o 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 + +# Don't run fixproto +STMP_FIXPROTO = diff --git a/gcc/config/i386/t-sco5 b/gcc/config/i386/t-sco5 index 42ae7db..d0c457e 100644 --- a/gcc/config/i386/t-sco5 +++ b/gcc/config/i386/t-sco5 @@ -13,3 +13,6 @@ 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 + +# See all the declarations. +FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2 diff --git a/gcc/config/i386/t-sco5gas b/gcc/config/i386/t-sco5gas index 2bca87b..2d0b48a 100644 --- a/gcc/config/i386/t-sco5gas +++ b/gcc/config/i386/t-sco5gas @@ -18,3 +18,6 @@ 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 + +# See all the declarations. +FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2 diff --git a/gcc/config/i386/x-beos b/gcc/config/i386/x-beos index e4fd443..16fc937 100644 --- a/gcc/config/i386/x-beos +++ b/gcc/config/i386/x-beos @@ -1,5 +1,2 @@ # configuration for BeOS INSTALL=install -c - -# Don't run fixproto -STMP_FIXPROTO = diff --git a/gcc/config/i386/x-dgux b/gcc/config/i386/x-dgux deleted file mode 100644 index 5d07910..0000000 --- a/gcc/config/i386/x-dgux +++ /dev/null @@ -1 +0,0 @@ -STMP_FIXPROTO = diff --git a/gcc/config/i386/x-sco5 b/gcc/config/i386/x-sco5 deleted file mode 100644 index bc3d98b..0000000 --- a/gcc/config/i386/x-sco5 +++ /dev/null @@ -1,2 +0,0 @@ -# See all the declarations. -FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2 diff --git a/gcc/config/m68k/x-hp320 b/gcc/config/m68k/t-hp320 index d3bbb66..d3bbb66 100644 --- a/gcc/config/m68k/x-hp320 +++ b/gcc/config/m68k/t-hp320 diff --git a/gcc/config/m68k/x-hp320g b/gcc/config/m68k/x-hp320g deleted file mode 100644 index d3bbb66..0000000 --- a/gcc/config/m68k/x-hp320g +++ /dev/null @@ -1,2 +0,0 @@ -# So putenv and other functions get seen by fixproto. -FIXPROTO_DEFINES = -D_HPUX_SOURCE diff --git a/gcc/config/m88k/t-dgux b/gcc/config/m88k/t-dgux index 384100b..afce596 100644 --- a/gcc/config/m88k/t-dgux +++ b/gcc/config/m88k/t-dgux @@ -22,3 +22,6 @@ bcscrtbegin.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h # Build libgcc.a, crtbegin.o, and crtend.o as bcs objects GCC_FOR_TARGET = PATH=/usr/sde/m88kbcs/usr/bin/:/usr/bin TARGET_BINARY_INTERFACE=m88kbcs ./xgcc -B./ -msvr3 -D_M88KBCS_TARGET -mno-ocs-debug-info + +# Don't run fixproto +STMP_FIXPROTO = diff --git a/gcc/config/m88k/t-dguxbcs b/gcc/config/m88k/t-dguxbcs index 6a3461a..cdebc78 100644 --- a/gcc/config/m88k/t-dguxbcs +++ b/gcc/config/m88k/t-dguxbcs @@ -1,26 +1 @@ -# Specify how to create the *.asm files - -MOVE_ASM = moveHI15x.asm moveQI16x.asm moveSI46x.asm moveSI64n.asm \ - moveHI48x.asm moveSI45x.asm moveSI47x.asm moveSI96x.asm \ - moveDI96x.asm - -$(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh - $(srcdir)/config/m88k/m88k-move.sh - -LIB2FUNCS_EXTRA = $(MOVE_ASM) - -# In a coff environment, a link script is required for ctors and dtors. -m88kdgux.ld: $(srcdir)/config/m88k/dgux.ld - rm -f m88kdgux.ld; cp $(srcdir)/config/m88k/dgux.ld ./m88kdgux.ld - -# A bcs crtbegin.o is needed since bcs does not -# increment the stack pointer in the init section as elf does -bcscrtbegin.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h - $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) -DCRT_BEGIN -DBCS \ - -finhibit-size-directive -fno-inline-functions \ - -g0 -c $(srcdir)/crtstuff.c -o bcscrtbegin.o - -# Build libgcc.a, crtbegin.o, and crtend.o as bcs objects -GCC_FOR_TARGET = PATH=/usr/sde/m88kbcs/usr/bin/:/usr/bin TARGET_BINARY_INTERFACE=m88kbcs ./xgcc -B./ -msvr3 -D_M88KBCS_TARGET -mno-ocs-debug-info - T_CFLAGS = -O -D_M88KBCS_TARGET diff --git a/gcc/config/m88k/x-dgux b/gcc/config/m88k/x-dgux deleted file mode 100644 index 5d07910..0000000 --- a/gcc/config/m88k/x-dgux +++ /dev/null @@ -1 +0,0 @@ -STMP_FIXPROTO = diff --git a/gcc/config/mips/x-iris b/gcc/config/mips/t-iris index 3f0f304..3f0f304 100644 --- a/gcc/config/mips/x-iris +++ b/gcc/config/mips/t-iris diff --git a/gcc/config/mips/x-iris6 b/gcc/config/mips/x-iris6 deleted file mode 100644 index a9b39fa..0000000 --- a/gcc/config/mips/x-iris6 +++ /dev/null @@ -1,2 +0,0 @@ -# Find all of the declarations from the header files -FIXPROTO_DEFINES= -D__EXTENSIONS__ -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS diff --git a/gcc/config/pa/x-pa b/gcc/config/pa/t-bsd index ac02360..ac02360 100644 --- a/gcc/config/pa/x-pa +++ b/gcc/config/pa/t-bsd diff --git a/gcc/config/pa/x-pa-hpux b/gcc/config/pa/t-pa-hpux index 11c2846..11c2846 100644 --- a/gcc/config/pa/x-pa-hpux +++ b/gcc/config/pa/t-pa-hpux diff --git a/gcc/config/rs6000/x-cygwin b/gcc/config/rs6000/x-cygwin deleted file mode 100644 index 5e796a0..0000000 --- a/gcc/config/rs6000/x-cygwin +++ /dev/null @@ -1,4 +0,0 @@ -# Don't run fixproto -STMP_FIXPROTO = -# Don't need collect2 -USE_COLLECT2 = diff --git a/gcc/config/i386/x-cygwin b/gcc/config/t-interix index d284b3e..d284b3e 100644 --- a/gcc/config/i386/x-cygwin +++ b/gcc/config/t-interix diff --git a/gcc/config/t-svr4 b/gcc/config/t-svr4 index e6be0c3..52c9b28 100644 --- a/gcc/config/t-svr4 +++ b/gcc/config/t-svr4 @@ -6,3 +6,6 @@ CRTSTUFF_T_CFLAGS = -fPIC TARGET_LIBGCC2_CFLAGS = -fPIC + +# See all the declarations. +FIXPROTO_DEFINES = -D_XOPEN_SOURCE diff --git a/gcc/config/x-interix b/gcc/config/x-interix index 30606a3..3234f4b 100644 --- a/gcc/config/x-interix +++ b/gcc/config/x-interix @@ -1,11 +1,6 @@ # These are host overrides # From config dir -# See all the declarations. -FIXPROTO_DEFINES = -D_XOPEN_SOURCE - -# Don't run fixproto -STMP_FIXPROTO = RANLIB = : RANLIB_TEST = false SHELL = sh diff --git a/gcc/config/x-linux b/gcc/config/x-linux deleted file mode 100644 index d284b3e..0000000 --- a/gcc/config/x-linux +++ /dev/null @@ -1,2 +0,0 @@ -# Don't run fixproto -STMP_FIXPROTO = diff --git a/gcc/config/x-svr4 b/gcc/config/x-svr4 deleted file mode 100644 index ce50fe9..0000000 --- a/gcc/config/x-svr4 +++ /dev/null @@ -1,2 +0,0 @@ -# See all the declarations. -FIXPROTO_DEFINES = -D_XOPEN_SOURCE |