summaryrefslogtreecommitdiffstats
path: root/gcc/fixinc
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-03 15:19:16 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-03 15:19:16 +0000
commit7a9fa1379ca7ea467379af66188c55f6e0bef9e8 (patch)
treed0b5d368fa62539060722f35466c8f155638aaaa /gcc/fixinc
parent07dfba85b2e74bb9523138fdfc07fa3c170e49bd (diff)
downloadppe42-gcc-7a9fa1379ca7ea467379af66188c55f6e0bef9e8.tar.gz
ppe42-gcc-7a9fa1379ca7ea467379af66188c55f6e0bef9e8.zip
* fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
* fixinc/fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81437 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/fixincl.x15
-rw-r--r--gcc/fixinc/inclhack.def3
2 files changed, 14 insertions, 4 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x
index efd41f300e8..a1b650e5dc6 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 Friday April 23, 2004 at 06:53:51 AM MDT
+ * It has been AutoGen-ed Monday May 3, 2004 at 05:17:48 PM MEST
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT CVS-MERGE THIS FILE, EITHER Fri Apr 23 06:53:51 MDT 2004
+/* DO NOT CVS-MERGE THIS FILE, EITHER Mon May 3 17:17:49 MEST 2004
*
* You must regenerate it. Use the ./genfixes script.
*
@@ -5382,8 +5382,15 @@ tSCC zSvr4_ProfilList[] =
tSCC zSvr4_ProfilSelect0[] =
"profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
-#define SVR4_PROFIL_TEST_CT 1
+/*
+ * content bypass pattern - skip fix if pattern found
+ */
+tSCC zSvr4_ProfilBypass0[] =
+ "Silicon Graphics";
+
+#define SVR4_PROFIL_TEST_CT 2
static tTestDesc aSvr4_ProfilTests[] = {
+ { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
{ TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
/*
@@ -6929,7 +6936,7 @@ static const char* apzX11_SprintfPatch[] = {
*
* List of all fixes
*/
-#define REGEX_COUNT 196
+#define REGEX_COUNT 197
#define MACH_LIST_SIZE_LIMIT 261
#define FIX_COUNT 175
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 2e57d0f0e5c..aa26ff7c013 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -3161,6 +3161,9 @@ fix = {
select =
'profil\(unsigned short \*, unsigned int, unsigned int, unsigned int\)';
+ /* The fix is wrong on IRIX 5/6 and creates a conflict with another
+ prototype in <sys/profil.h>. */
+ bypass = 'Silicon Graphics';
c_fix = format;
c_fix_arg = 'profil(unsigned short *, size_t, int, unsigned int)';
OpenPOWER on IntegriCloud