diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2004-05-03 15:19:16 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2004-05-03 15:19:16 +0000 |
commit | 553cba65d21ab16c89bf98415712d89158eff7d1 (patch) | |
tree | d0b5d368fa62539060722f35466c8f155638aaaa /gcc/fixinc | |
parent | 1ab2888d261c07b45f45dfe32cedcab557440548 (diff) | |
download | gcc-553cba65d21ab16c89bf98415712d89158eff7d1.zip gcc-553cba65d21ab16c89bf98415712d89158eff7d1.tar.gz gcc-553cba65d21ab16c89bf98415712d89158eff7d1.tar.bz2 |
inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
* fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
* fixinc/fixincl.x: Regenerate.
From-SVN: r81437
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/fixincl.x | 15 | ||||
-rw-r--r-- | gcc/fixinc/inclhack.def | 3 |
2 files changed, 14 insertions, 4 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index efd41f3..a1b650e 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 2e57d0f..aa26ff7 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)'; |