summaryrefslogtreecommitdiffstats
path: root/gcc/fixinc
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-29 18:40:42 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-29 18:40:42 +0000
commitfce9603126174d3391c413ec217b0a3b26eca16c (patch)
treefbcf845dccb6335e916d24604b711fbfab64d4ee /gcc/fixinc
parent81fea98979d1f93bcf1916db52d56c6fb6735430 (diff)
downloadppe42-gcc-fce9603126174d3391c413ec217b0a3b26eca16c.tar.gz
ppe42-gcc-fce9603126174d3391c413ec217b0a3b26eca16c.zip
* fixinc/inclhack.def: Remove special cases for unsupported
PTX 1 and PTX 2 (including i[34567]86-sequent-sysv3). * fixinc/fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70918 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/fixincl.x6
-rw-r--r--gcc/fixinc/inclhack.def51
2 files changed, 2 insertions, 55 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x
index e730e47011f..bbc664b4ee8 100644
--- a/gcc/fixinc/fixincl.x
+++ b/gcc/fixinc/fixincl.x
@@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed Wednesday August 27, 2003 at 12:21:31 PM EDT
+ * It has been AutoGen-ed Friday August 29, 2003 at 01:36:38 PM EDT
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT CVS-MERGE THIS FILE, EITHER Wed Aug 27 12:21:31 EDT 2003
+/* DO NOT CVS-MERGE THIS FILE, EITHER Fri Aug 29 13:36:38 EDT 2003
*
* You must regenerate it. Use the ./genfixes script.
*
@@ -300,7 +300,6 @@ fix = {\n\
mach = \"powerpcle-*-solaris2.[0-4]\";\n\
mach = \"sparc-*-solaris2.[0-4]\";\n\
mach = \"i[34567]86-sequent-ptx*\";\n\
- mach = \"i[34567]86-sequent-sysv3*\";\n\
files = sys/byteorder.h;\n\
replace = <<- _EndOfHeader_\n\
#ifndef _SYS_BYTEORDER_H\n\
@@ -4923,7 +4922,6 @@ tSCC zSvr4_KrnlList[] =
tSCC* apzSvr4_KrnlMachs[] = {
"*-*-sysv4*",
"i?86-sequent-ptx*",
- "i?86-sequent-sysv3*",
(const char*)NULL };
/*
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index a9472aeb578..edf28b5cf0e 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -235,7 +235,6 @@ fix = {
mach = "powerpcle-*-solaris2.[0-4]";
mach = "sparc-*-solaris2.[0-4]";
mach = "i[34567]86-sequent-ptx*";
- mach = "i[34567]86-sequent-sysv3*";
files = sys/byteorder.h;
replace = <<- _EndOfHeader_
#ifndef _SYS_BYTEORDER_H
@@ -2017,55 +2016,6 @@ fix = {
/*
- * In netinet/in.h, the network byte swapping asm functions supported by the
- * native cc compiler on PTX 1.x and 2.x are not supported by gcc. Instead,
- * include <sys/byteorder.h>, written out by fixincludes, which has
- * these same routines written in an asm format supported by gcc.
- */
-#ifdef PTX
-fix = {
- hackname = ptx_netswap;
- files = netinet/in.h;
- sed = "/#define NETSWAP/a\\\n"
- "\\\n"
- "#if defined (__GNUC__) || defined (__GNUG__)\\\n"
- "#include <sys/byteorder.h>\\\n"
- "#else /* not __GNUC__ */\n";
- sed = "/#endif[ \t]*\\/\\* NETSWAP \\*\\//i\\\n"
- "#endif /* not __GNUC__ */\n";
- /* Half-hearted test case: I have no idea what the file this is really
- supposed to operate on looks like. */
- test_text = "#define NETSWAP\n"
- "#endif /* NETSWAP */";
-};
-#endif
-
-
-/*
- * In pwd.h, PTX 1.x needs stdio.h included since FILE * was added in a
- * prototype later on in the file. (It's not clear that this is
- * still true, and even if it is, FILE * may be added after this fix runs by
- * fixproto.)
- */
-#ifdef PTX
-fix = {
- hackname = ptx_pwd_h;
- files = pwd.h;
- select = 'FILE \*';
- bypass = 'stdio.h';
- sed = "/#include <sys\\/types\\.h/a\\\n"
- "\\\n"
- "#if defined(__STDC__) || defined(__cplusplus)\\\n"
- "#include <stdio.h>\\\n"
- "#endif /* __STDC__ */\\\n"
- "\n";
- test_text = "#include <sys/types.h>\n"
- "void foo (FILE *)";
-};
-#endif
-
-
-/*
* On DYNIX/ptx, sys/mc_param.h has an embedded asm for the cpuid instruction
* on the P5. This is not used by anything else so we ifdef it out.
* Current GCC doesn't seem to complain about the asm, though.
@@ -2894,7 +2844,6 @@ fix = {
* in any case. -- Nathanael */
mach = '*-*-sysv4*';
mach = 'i?86-sequent-ptx*';
- mach = 'i?86-sequent-sysv3*';
files = fs/rfs/rf_cache.h;
files = sys/erec.h;
files = sys/err.h;
OpenPOWER on IntegriCloud