Commit 5650fd39 by Nathanael Nerode

inclhack.def: Remove special cases for unsupported PTX 1 and PTX 2 (including...

	* fixinc/inclhack.def:  Remove special cases for unsupported
	PTX 1 and PTX 2 (including i[34567]86-sequent-sysv3).
	* fixinc/fixincl.x: Regenerate.

From-SVN: r70918
parent 6280c439
2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/inclhack.def: Remove special cases for unsupported
PTX 1 and PTX 2 (including i[34567]86-sequent-sysv3).
* fixinc/fixincl.x: Regenerate.
2003-08-29 Mark Mitchell <mark@codesourcery.com>
* Makefile.in (cpp.info): Just state dependencies.
......
......@@ -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 };
/*
......
......@@ -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;
......
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