diff options
author | pogma <pogma@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-06 16:14:57 +0000 |
---|---|---|
committer | pogma <pogma@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-06 16:14:57 +0000 |
commit | eafa229b781aa62804b6970f9b5403546bf31bb2 (patch) | |
tree | 4496b65219ab44fb3328c016f518de95d15728ee /fixincludes/fixincl.x | |
parent | 83a875e913027204da79f099c1b8a113958d571b (diff) | |
download | gcc-eafa229b781aa62804b6970f9b5403546bf31bb2.tar.gz |
* inclhack.def (aix_net_if_arp): New fix.
* fixincl.x: Regenerate.
* tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/fixincl.x')
-rw-r--r-- | fixincludes/fixincl.x | 53 |
1 files changed, 48 insertions, 5 deletions
diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x index d9d6f6bfed1..ac3343d238b 100644 --- a/fixincludes/fixincl.x +++ b/fixincludes/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed May 16, 2011 at 02:55:35 PM by AutoGen 5.11.1 + * It has been AutoGen-ed Sunday June 5, 2011 at 09:04:54 PM CDT * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT SVN-MERGE THIS FILE, EITHER Mon May 16 14:55:35 CEST 2011 +/* DO NOT SVN-MERGE THIS FILE, EITHER Sun Jun 5 21:04:54 CDT 2011 * * You must regenerate it. Use the ./genfixes script. * @@ -15,7 +15,7 @@ * certain ANSI-incompatible system header files which are fixed to work * correctly with ANSI C and placed in a directory that GNU C will search. * - * This file contains 210 fixup descriptions. + * This file contains 211 fixup descriptions. * * See README for more information. * @@ -522,6 +522,43 @@ static const char* apzAix_ComplexPatch[] = { /* * * * * * * * * * * * * * * * * * * * * * * * * * * + * Description of Aix_Net_If_Arp fix + */ +tSCC zAix_Net_If_ArpName[] = + "aix_net_if_arp"; + +/* + * File name selection pattern + */ +tSCC zAix_Net_If_ArpList[] = + "net/if_arp.h\0"; +/* + * Machine/OS name selection pattern + */ +tSCC* apzAix_Net_If_ArpMachs[] = { + "*-*-aix*", + (const char*)NULL }; + +/* + * content selection pattern - do fix if pattern found + */ +tSCC zAix_Net_If_ArpSelect0[] = + "^struct fc_softc \\{"; + +#define AIX_NET_IF_ARP_TEST_CT 1 +static tTestDesc aAix_Net_If_ArpTests[] = { + { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, }; + +/* + * Fix Command Arguments for Aix_Net_If_Arp + */ +static const char* apzAix_Net_If_ArpPatch[] = { + "format", + "typedef struct _fc_softc {", + (char*)NULL }; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * + * * Description of Aix_Pthread fix */ tSCC zAix_PthreadName[] = @@ -8554,9 +8591,9 @@ static const char* apzX11_SprintfPatch[] = { * * List of all fixes */ -#define REGEX_COUNT 249 +#define REGEX_COUNT 250 #define MACH_LIST_SIZE_LIMIT 181 -#define FIX_COUNT 210 +#define FIX_COUNT 211 /* * Enumerate the fixes @@ -8571,6 +8608,7 @@ typedef enum { AAB_SOLARIS_SYS_VARARGS_H_FIXIDX, AAB_SUN_MEMCPY_FIXIDX, AIX_COMPLEX_FIXIDX, + AIX_NET_IF_ARP_FIXIDX, AIX_PTHREAD_FIXIDX, AIX_STDINT_1_FIXIDX, AIX_STDINT_2_FIXIDX, @@ -8820,6 +8858,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = { AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, aAix_ComplexTests, apzAix_ComplexPatch, 0 }, + { zAix_Net_If_ArpName, zAix_Net_If_ArpList, + apzAix_Net_If_ArpMachs, + AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, + aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 }, + { zAix_PthreadName, zAix_PthreadList, apzAix_PthreadMachs, AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |