Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
1f98d85e
Commit
1f98d85e
authored
May 17, 2001
by
Wolfgang Bangerth
Committed by
Bruce Korb
May 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix broken mutex initializer
Co-Authored-By: Bruce Korb <bkorb@gnu.org> From-SVN: r42185
parent
a3e991f2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
112 additions
and
46 deletions
+112
-46
gcc/ChangeLog
+6
-0
gcc/fixinc/fixincl.x
+88
-46
gcc/fixinc/inclhack.def
+18
-0
No files found.
gcc/ChangeLog
View file @
1f98d85e
2001
-
05
-
16
Wolfgang
Bangerth
<
wolfgang
.
bangerth
@iwr
.
uni
-
heidelberg
.
de
>
Bruce
Korb
<
bkorb
@gnu
.
org
>
*
fixinc
/
inclhack
.
def
(
solaris27_mutex_init
)
:
Fix
broken
mutex
initializer
2001
-
05
-
16
Zack
Weinberg
<
zackw
@stanford
.
edu
>
2001
-
05
-
16
Zack
Weinberg
<
zackw
@stanford
.
edu
>
*
i386
.
md
:
Add
two
peepholes
to
clean
up
code
generated
by
*
i386
.
md
:
Add
two
peepholes
to
clean
up
code
generated
by
...
...
gcc/fixinc/fixincl.x
View file @
1f98d85e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* files which are fixed to work correctly with ANSI C and placed in a
* files which are fixed to work correctly with ANSI C and placed in a
* directory that GNU C will search.
* directory that GNU C will search.
*
*
* This file contains 13
7
fixup descriptions.
* This file contains 13
8
fixup descriptions.
*
*
* See README for more information.
* See README for more information.
*
*
...
@@ -3849,9 +3849,46 @@ static const char* apzSco_UtimePatch[] = {
...
@@ -3849,9 +3849,46 @@ static const char* apzSco_UtimePatch[] = {
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
*
* Description of Solaris27_Mutex_Init fix
*/
#define SOLARIS27_MUTEX_INIT_FIXIDX 94
tSCC zSolaris27_Mutex_InitName[] =
"solaris27_mutex_init";
/*
* File name selection pattern
*/
tSCC zSolaris27_Mutex_InitList[] =
"|pthread.h|";
/*
* Machine/OS name selection pattern
*/
#define apzSolaris27_Mutex_InitMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zSolaris27_Mutex_InitSelect0[] =
"@\\(#\\)pthread.h[ \t]+1.26[ \t]+98/04/12 SMI";
#define SOLARIS27_MUTEX_INIT_TEST_CT 1
static tTestDesc aSolaris27_Mutex_InitTests[] = {
{ TT_EGREP, zSolaris27_Mutex_InitSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Solaris27_Mutex_Init
*/
static const char* apzSolaris27_Mutex_InitPatch[] = {
"format",
"%1, {0}}",
"(define[ \t]+PTHREAD_MUTEX_INITIALIZER.*),[ \t]*0}$",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Statsswtch fix
* Description of Statsswtch fix
*/
*/
#define STATSSWTCH_FIXIDX 9
4
#define STATSSWTCH_FIXIDX 9
5
tSCC zStatsswtchName[] =
tSCC zStatsswtchName[] =
"statsswtch";
"statsswtch";
...
@@ -3887,7 +3924,7 @@ static const char* apzStatsswtchPatch[] = {
...
@@ -3887,7 +3924,7 @@ static const char* apzStatsswtchPatch[] = {
*
*
* Description of Stdio_Stdarg_H fix
* Description of Stdio_Stdarg_H fix
*/
*/
#define STDIO_STDARG_H_FIXIDX 9
5
#define STDIO_STDARG_H_FIXIDX 9
6
tSCC zStdio_Stdarg_HName[] =
tSCC zStdio_Stdarg_HName[] =
"stdio_stdarg_h";
"stdio_stdarg_h";
...
@@ -3924,7 +3961,7 @@ static const char* apzStdio_Stdarg_HPatch[] = {
...
@@ -3924,7 +3961,7 @@ static const char* apzStdio_Stdarg_HPatch[] = {
*
*
* Description of Stdio_Va_List fix
* Description of Stdio_Va_List fix
*/
*/
#define STDIO_VA_LIST_FIXIDX 9
6
#define STDIO_VA_LIST_FIXIDX 9
7
tSCC zStdio_Va_ListName[] =
tSCC zStdio_Va_ListName[] =
"stdio_va_list";
"stdio_va_list";
...
@@ -3969,7 +4006,7 @@ s@_Va_LIST@_VA_LIST@",
...
@@ -3969,7 +4006,7 @@ s@_Va_LIST@_VA_LIST@",
*
*
* Description of Struct_File fix
* Description of Struct_File fix
*/
*/
#define STRUCT_FILE_FIXIDX 9
7
#define STRUCT_FILE_FIXIDX 9
8
tSCC zStruct_FileName[] =
tSCC zStruct_FileName[] =
"struct_file";
"struct_file";
...
@@ -4006,7 +4043,7 @@ static const char* apzStruct_FilePatch[] = {
...
@@ -4006,7 +4043,7 @@ static const char* apzStruct_FilePatch[] = {
*
*
* Description of Struct_Sockaddr fix
* Description of Struct_Sockaddr fix
*/
*/
#define STRUCT_SOCKADDR_FIXIDX 9
8
#define STRUCT_SOCKADDR_FIXIDX 9
9
tSCC zStruct_SockaddrName[] =
tSCC zStruct_SockaddrName[] =
"struct_sockaddr";
"struct_sockaddr";
...
@@ -4050,7 +4087,7 @@ static const char* apzStruct_SockaddrPatch[] = {
...
@@ -4050,7 +4087,7 @@ static const char* apzStruct_SockaddrPatch[] = {
*
*
* Description of Sun_Auth_Proto fix
* Description of Sun_Auth_Proto fix
*/
*/
#define SUN_AUTH_PROTO_FIXIDX
99
#define SUN_AUTH_PROTO_FIXIDX
100
tSCC zSun_Auth_ProtoName[] =
tSCC zSun_Auth_ProtoName[] =
"sun_auth_proto";
"sun_auth_proto";
...
@@ -4091,7 +4128,7 @@ static const char* apzSun_Auth_ProtoPatch[] = {
...
@@ -4091,7 +4128,7 @@ static const char* apzSun_Auth_ProtoPatch[] = {
*
*
* Description of Sun_Bogus_Ifdef fix
* Description of Sun_Bogus_Ifdef fix
*/
*/
#define SUN_BOGUS_IFDEF_FIXIDX 10
0
#define SUN_BOGUS_IFDEF_FIXIDX 10
1
tSCC zSun_Bogus_IfdefName[] =
tSCC zSun_Bogus_IfdefName[] =
"sun_bogus_ifdef";
"sun_bogus_ifdef";
...
@@ -4127,7 +4164,7 @@ static const char* apzSun_Bogus_IfdefPatch[] = {
...
@@ -4127,7 +4164,7 @@ static const char* apzSun_Bogus_IfdefPatch[] = {
*
*
* Description of Sun_Catmacro fix
* Description of Sun_Catmacro fix
*/
*/
#define SUN_CATMACRO_FIXIDX 10
1
#define SUN_CATMACRO_FIXIDX 10
2
tSCC zSun_CatmacroName[] =
tSCC zSun_CatmacroName[] =
"sun_catmacro";
"sun_catmacro";
...
@@ -4167,7 +4204,7 @@ static const char* apzSun_CatmacroPatch[] = {
...
@@ -4167,7 +4204,7 @@ static const char* apzSun_CatmacroPatch[] = {
*
*
* Description of Sun_Malloc fix
* Description of Sun_Malloc fix
*/
*/
#define SUN_MALLOC_FIXIDX 10
2
#define SUN_MALLOC_FIXIDX 10
3
tSCC zSun_MallocName[] =
tSCC zSun_MallocName[] =
"sun_malloc";
"sun_malloc";
...
@@ -4198,7 +4235,7 @@ static const char* apzSun_MallocPatch[] = { "sed",
...
@@ -4198,7 +4235,7 @@ static const char* apzSun_MallocPatch[] = { "sed",
*
*
* Description of Sun_Rusers_Semi fix
* Description of Sun_Rusers_Semi fix
*/
*/
#define SUN_RUSERS_SEMI_FIXIDX 10
3
#define SUN_RUSERS_SEMI_FIXIDX 10
4
tSCC zSun_Rusers_SemiName[] =
tSCC zSun_Rusers_SemiName[] =
"sun_rusers_semi";
"sun_rusers_semi";
...
@@ -4233,7 +4270,7 @@ static const char* apzSun_Rusers_SemiPatch[] = { "sed",
...
@@ -4233,7 +4270,7 @@ static const char* apzSun_Rusers_SemiPatch[] = { "sed",
*
*
* Description of Sun_Signal fix
* Description of Sun_Signal fix
*/
*/
#define SUN_SIGNAL_FIXIDX 10
4
#define SUN_SIGNAL_FIXIDX 10
5
tSCC zSun_SignalName[] =
tSCC zSun_SignalName[] =
"sun_signal";
"sun_signal";
...
@@ -4273,7 +4310,7 @@ void\t(*signal(...))(...);\n\
...
@@ -4273,7 +4310,7 @@ void\t(*signal(...))(...);\n\
*
*
* Description of Sunos_Matherr_Decl fix
* Description of Sunos_Matherr_Decl fix
*/
*/
#define SUNOS_MATHERR_DECL_FIXIDX 10
5
#define SUNOS_MATHERR_DECL_FIXIDX 10
6
tSCC zSunos_Matherr_DeclName[] =
tSCC zSunos_Matherr_DeclName[] =
"sunos_matherr_decl";
"sunos_matherr_decl";
...
@@ -4316,7 +4353,7 @@ static const char* apzSunos_Matherr_DeclPatch[] = {
...
@@ -4316,7 +4353,7 @@ static const char* apzSunos_Matherr_DeclPatch[] = {
*
*
* Description of Sunos_Strlen fix
* Description of Sunos_Strlen fix
*/
*/
#define SUNOS_STRLEN_FIXIDX 10
6
#define SUNOS_STRLEN_FIXIDX 10
7
tSCC zSunos_StrlenName[] =
tSCC zSunos_StrlenName[] =
"sunos_strlen";
"sunos_strlen";
...
@@ -4352,7 +4389,7 @@ static const char* apzSunos_StrlenPatch[] = {
...
@@ -4352,7 +4389,7 @@ static const char* apzSunos_StrlenPatch[] = {
*
*
* Description of Svr4__P fix
* Description of Svr4__P fix
*/
*/
#define SVR4__P_FIXIDX 10
7
#define SVR4__P_FIXIDX 10
8
tSCC zSvr4__PName[] =
tSCC zSvr4__PName[] =
"svr4__p";
"svr4__p";
...
@@ -4390,7 +4427,7 @@ static const char* apzSvr4__PPatch[] = {
...
@@ -4390,7 +4427,7 @@ static const char* apzSvr4__PPatch[] = {
*
*
* Description of Svr4_Getcwd fix
* Description of Svr4_Getcwd fix
*/
*/
#define SVR4_GETCWD_FIXIDX 10
8
#define SVR4_GETCWD_FIXIDX 10
9
tSCC zSvr4_GetcwdName[] =
tSCC zSvr4_GetcwdName[] =
"svr4_getcwd";
"svr4_getcwd";
...
@@ -4426,7 +4463,7 @@ static const char* apzSvr4_GetcwdPatch[] = {
...
@@ -4426,7 +4463,7 @@ static const char* apzSvr4_GetcwdPatch[] = {
*
*
* Description of Svr4_Profil fix
* Description of Svr4_Profil fix
*/
*/
#define SVR4_PROFIL_FIXIDX 1
09
#define SVR4_PROFIL_FIXIDX 1
10
tSCC zSvr4_ProfilName[] =
tSCC zSvr4_ProfilName[] =
"svr4_profil";
"svr4_profil";
...
@@ -4462,7 +4499,7 @@ static const char* apzSvr4_ProfilPatch[] = {
...
@@ -4462,7 +4499,7 @@ static const char* apzSvr4_ProfilPatch[] = {
*
*
* Description of Gnu_Types fix
* Description of Gnu_Types fix
*/
*/
#define GNU_TYPES_FIXIDX 11
0
#define GNU_TYPES_FIXIDX 11
1
tSCC zGnu_TypesName[] =
tSCC zGnu_TypesName[] =
"gnu_types";
"gnu_types";
...
@@ -4504,7 +4541,7 @@ static const char* apzGnu_TypesPatch[] = {
...
@@ -4504,7 +4541,7 @@ static const char* apzGnu_TypesPatch[] = {
*
*
* Description of Sysv68_String fix
* Description of Sysv68_String fix
*/
*/
#define SYSV68_STRING_FIXIDX 11
1
#define SYSV68_STRING_FIXIDX 11
2
tSCC zSysv68_StringName[] =
tSCC zSysv68_StringName[] =
"sysv68_string";
"sysv68_string";
...
@@ -4541,7 +4578,7 @@ extern unsigned int\\\n\
...
@@ -4541,7 +4578,7 @@ extern unsigned int\\\n\
*
*
* Description of Sysz_Stdlib_For_Sun fix
* Description of Sysz_Stdlib_For_Sun fix
*/
*/
#define SYSZ_STDLIB_FOR_SUN_FIXIDX 11
2
#define SYSZ_STDLIB_FOR_SUN_FIXIDX 11
3
tSCC zSysz_Stdlib_For_SunName[] =
tSCC zSysz_Stdlib_For_SunName[] =
"sysz_stdlib_for_sun";
"sysz_stdlib_for_sun";
...
@@ -4577,7 +4614,7 @@ static const char* apzSysz_Stdlib_For_SunPatch[] = {
...
@@ -4577,7 +4614,7 @@ static const char* apzSysz_Stdlib_For_SunPatch[] = {
*
*
* Description of Tinfo_Cplusplus fix
* Description of Tinfo_Cplusplus fix
*/
*/
#define TINFO_CPLUSPLUS_FIXIDX 11
3
#define TINFO_CPLUSPLUS_FIXIDX 11
4
tSCC zTinfo_CplusplusName[] =
tSCC zTinfo_CplusplusName[] =
"tinfo_cplusplus";
"tinfo_cplusplus";
...
@@ -4613,7 +4650,7 @@ static const char* apzTinfo_CplusplusPatch[] = {
...
@@ -4613,7 +4650,7 @@ static const char* apzTinfo_CplusplusPatch[] = {
*
*
* Description of Ultrix_Atof_Param fix
* Description of Ultrix_Atof_Param fix
*/
*/
#define ULTRIX_ATOF_PARAM_FIXIDX 11
4
#define ULTRIX_ATOF_PARAM_FIXIDX 11
5
tSCC zUltrix_Atof_ParamName[] =
tSCC zUltrix_Atof_ParamName[] =
"ultrix_atof_param";
"ultrix_atof_param";
...
@@ -4649,7 +4686,7 @@ static const char* apzUltrix_Atof_ParamPatch[] = {
...
@@ -4649,7 +4686,7 @@ static const char* apzUltrix_Atof_ParamPatch[] = {
*
*
* Description of Ultrix_Const fix
* Description of Ultrix_Const fix
*/
*/
#define ULTRIX_CONST_FIXIDX 11
5
#define ULTRIX_CONST_FIXIDX 11
6
tSCC zUltrix_ConstName[] =
tSCC zUltrix_ConstName[] =
"ultrix_const";
"ultrix_const";
...
@@ -4686,7 +4723,7 @@ static const char* apzUltrix_ConstPatch[] = {
...
@@ -4686,7 +4723,7 @@ static const char* apzUltrix_ConstPatch[] = {
*
*
* Description of Ultrix_Const2 fix
* Description of Ultrix_Const2 fix
*/
*/
#define ULTRIX_CONST2_FIXIDX 11
6
#define ULTRIX_CONST2_FIXIDX 11
7
tSCC zUltrix_Const2Name[] =
tSCC zUltrix_Const2Name[] =
"ultrix_const2";
"ultrix_const2";
...
@@ -4723,7 +4760,7 @@ static const char* apzUltrix_Const2Patch[] = {
...
@@ -4723,7 +4760,7 @@ static const char* apzUltrix_Const2Patch[] = {
*
*
* Description of Ultrix_Fix_Fixproto fix
* Description of Ultrix_Fix_Fixproto fix
*/
*/
#define ULTRIX_FIX_FIXPROTO_FIXIDX 11
7
#define ULTRIX_FIX_FIXPROTO_FIXIDX 11
8
tSCC zUltrix_Fix_FixprotoName[] =
tSCC zUltrix_Fix_FixprotoName[] =
"ultrix_fix_fixproto";
"ultrix_fix_fixproto";
...
@@ -4761,7 +4798,7 @@ static const char* apzUltrix_Fix_FixprotoPatch[] = {
...
@@ -4761,7 +4798,7 @@ static const char* apzUltrix_Fix_FixprotoPatch[] = {
*
*
* Description of Ultrix_Ifdef fix
* Description of Ultrix_Ifdef fix
*/
*/
#define ULTRIX_IFDEF_FIXIDX 11
8
#define ULTRIX_IFDEF_FIXIDX 11
9
tSCC zUltrix_IfdefName[] =
tSCC zUltrix_IfdefName[] =
"ultrix_ifdef";
"ultrix_ifdef";
...
@@ -4797,7 +4834,7 @@ static const char* apzUltrix_IfdefPatch[] = {
...
@@ -4797,7 +4834,7 @@ static const char* apzUltrix_IfdefPatch[] = {
*
*
* Description of Ultrix_Math_Ifdef fix
* Description of Ultrix_Math_Ifdef fix
*/
*/
#define ULTRIX_MATH_IFDEF_FIXIDX 1
19
#define ULTRIX_MATH_IFDEF_FIXIDX 1
20
tSCC zUltrix_Math_IfdefName[] =
tSCC zUltrix_Math_IfdefName[] =
"ultrix_math_ifdef";
"ultrix_math_ifdef";
...
@@ -4833,7 +4870,7 @@ static const char* apzUltrix_Math_IfdefPatch[] = {
...
@@ -4833,7 +4870,7 @@ static const char* apzUltrix_Math_IfdefPatch[] = {
*
*
* Description of Ultrix_Nested_Ioctl fix
* Description of Ultrix_Nested_Ioctl fix
*/
*/
#define ULTRIX_NESTED_IOCTL_FIXIDX 12
0
#define ULTRIX_NESTED_IOCTL_FIXIDX 12
1
tSCC zUltrix_Nested_IoctlName[] =
tSCC zUltrix_Nested_IoctlName[] =
"ultrix_nested_ioctl";
"ultrix_nested_ioctl";
...
@@ -4868,7 +4905,7 @@ static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
...
@@ -4868,7 +4905,7 @@ static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
*
*
* Description of Ultrix_Nested_Svc fix
* Description of Ultrix_Nested_Svc fix
*/
*/
#define ULTRIX_NESTED_SVC_FIXIDX 12
1
#define ULTRIX_NESTED_SVC_FIXIDX 12
2
tSCC zUltrix_Nested_SvcName[] =
tSCC zUltrix_Nested_SvcName[] =
"ultrix_nested_svc";
"ultrix_nested_svc";
...
@@ -4903,7 +4940,7 @@ static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
...
@@ -4903,7 +4940,7 @@ static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
*
*
* Description of Ultrix_Stat fix
* Description of Ultrix_Stat fix
*/
*/
#define ULTRIX_STAT_FIXIDX 12
2
#define ULTRIX_STAT_FIXIDX 12
3
tSCC zUltrix_StatName[] =
tSCC zUltrix_StatName[] =
"ultrix_stat";
"ultrix_stat";
...
@@ -4944,7 +4981,7 @@ static const char* apzUltrix_StatPatch[] = { "sed",
...
@@ -4944,7 +4981,7 @@ static const char* apzUltrix_StatPatch[] = { "sed",
*
*
* Description of Ultrix_Static fix
* Description of Ultrix_Static fix
*/
*/
#define ULTRIX_STATIC_FIXIDX 12
3
#define ULTRIX_STATIC_FIXIDX 12
4
tSCC zUltrix_StaticName[] =
tSCC zUltrix_StaticName[] =
"ultrix_static";
"ultrix_static";
...
@@ -4981,7 +5018,7 @@ static const char* apzUltrix_StaticPatch[] = { "sed",
...
@@ -4981,7 +5018,7 @@ static const char* apzUltrix_StaticPatch[] = { "sed",
*
*
* Description of Ultrix_Strings fix
* Description of Ultrix_Strings fix
*/
*/
#define ULTRIX_STRINGS_FIXIDX 12
4
#define ULTRIX_STRINGS_FIXIDX 12
5
tSCC zUltrix_StringsName[] =
tSCC zUltrix_StringsName[] =
"ultrix_strings";
"ultrix_strings";
...
@@ -5016,7 +5053,7 @@ static const char* apzUltrix_StringsPatch[] = {
...
@@ -5016,7 +5053,7 @@ static const char* apzUltrix_StringsPatch[] = {
*
*
* Description of Undefine_Null fix
* Description of Undefine_Null fix
*/
*/
#define UNDEFINE_NULL_FIXIDX 12
5
#define UNDEFINE_NULL_FIXIDX 12
6
tSCC zUndefine_NullName[] =
tSCC zUndefine_NullName[] =
"undefine_null";
"undefine_null";
...
@@ -5062,7 +5099,7 @@ static const char* apzUndefine_NullPatch[] = {
...
@@ -5062,7 +5099,7 @@ static const char* apzUndefine_NullPatch[] = {
*
*
* Description of Uw7_Byteorder_Fix fix
* Description of Uw7_Byteorder_Fix fix
*/
*/
#define UW7_BYTEORDER_FIX_FIXIDX 12
6
#define UW7_BYTEORDER_FIX_FIXIDX 12
7
tSCC zUw7_Byteorder_FixName[] =
tSCC zUw7_Byteorder_FixName[] =
"uw7_byteorder_fix";
"uw7_byteorder_fix";
...
@@ -5113,7 +5150,7 @@ static const char* apzUw7_Byteorder_FixPatch[] = {
...
@@ -5113,7 +5150,7 @@ static const char* apzUw7_Byteorder_FixPatch[] = {
*
*
* Description of Va_I960_Macro fix
* Description of Va_I960_Macro fix
*/
*/
#define VA_I960_MACRO_FIXIDX 12
7
#define VA_I960_MACRO_FIXIDX 12
8
tSCC zVa_I960_MacroName[] =
tSCC zVa_I960_MacroName[] =
"va_i960_macro";
"va_i960_macro";
...
@@ -5149,7 +5186,7 @@ static const char* apzVa_I960_MacroPatch[] = {
...
@@ -5149,7 +5186,7 @@ static const char* apzVa_I960_MacroPatch[] = {
*
*
* Description of Void_Null fix
* Description of Void_Null fix
*/
*/
#define VOID_NULL_FIXIDX 12
8
#define VOID_NULL_FIXIDX 12
9
tSCC zVoid_NullName[] =
tSCC zVoid_NullName[] =
"void_null";
"void_null";
...
@@ -5185,7 +5222,7 @@ static const char* apzVoid_NullPatch[] = {
...
@@ -5185,7 +5222,7 @@ static const char* apzVoid_NullPatch[] = {
*
*
* Description of Vxworks_Gcc_Problem fix
* Description of Vxworks_Gcc_Problem fix
*/
*/
#define VXWORKS_GCC_PROBLEM_FIXIDX 1
29
#define VXWORKS_GCC_PROBLEM_FIXIDX 1
30
tSCC zVxworks_Gcc_ProblemName[] =
tSCC zVxworks_Gcc_ProblemName[] =
"vxworks_gcc_problem";
"vxworks_gcc_problem";
...
@@ -5235,7 +5272,7 @@ static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
...
@@ -5235,7 +5272,7 @@ static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
*
*
* Description of Vxworks_Needs_Vxtypes fix
* Description of Vxworks_Needs_Vxtypes fix
*/
*/
#define VXWORKS_NEEDS_VXTYPES_FIXIDX 13
0
#define VXWORKS_NEEDS_VXTYPES_FIXIDX 13
1
tSCC zVxworks_Needs_VxtypesName[] =
tSCC zVxworks_Needs_VxtypesName[] =
"vxworks_needs_vxtypes";
"vxworks_needs_vxtypes";
...
@@ -5271,7 +5308,7 @@ static const char* apzVxworks_Needs_VxtypesPatch[] = {
...
@@ -5271,7 +5308,7 @@ static const char* apzVxworks_Needs_VxtypesPatch[] = {
*
*
* Description of Vxworks_Needs_Vxworks fix
* Description of Vxworks_Needs_Vxworks fix
*/
*/
#define VXWORKS_NEEDS_VXWORKS_FIXIDX 13
1
#define VXWORKS_NEEDS_VXWORKS_FIXIDX 13
2
tSCC zVxworks_Needs_VxworksName[] =
tSCC zVxworks_Needs_VxworksName[] =
"vxworks_needs_vxworks";
"vxworks_needs_vxworks";
...
@@ -5320,7 +5357,7 @@ static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
...
@@ -5320,7 +5357,7 @@ static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
*
*
* Description of Vxworks_Time fix
* Description of Vxworks_Time fix
*/
*/
#define VXWORKS_TIME_FIXIDX 13
2
#define VXWORKS_TIME_FIXIDX 13
3
tSCC zVxworks_TimeName[] =
tSCC zVxworks_TimeName[] =
"vxworks_time";
"vxworks_time";
...
@@ -5371,7 +5408,7 @@ typedef void (*__gcc_VOIDFUNCPTR) ();\n\
...
@@ -5371,7 +5408,7 @@ typedef void (*__gcc_VOIDFUNCPTR) ();\n\
*
*
* Description of X11_Class fix
* Description of X11_Class fix
*/
*/
#define X11_CLASS_FIXIDX 13
3
#define X11_CLASS_FIXIDX 13
4
tSCC zX11_ClassName[] =
tSCC zX11_ClassName[] =
"x11_class";
"x11_class";
...
@@ -5418,7 +5455,7 @@ static const char* apzX11_ClassPatch[] = {
...
@@ -5418,7 +5455,7 @@ static const char* apzX11_ClassPatch[] = {
*
*
* Description of X11_Class_Usage fix
* Description of X11_Class_Usage fix
*/
*/
#define X11_CLASS_USAGE_FIXIDX 13
4
#define X11_CLASS_USAGE_FIXIDX 13
5
tSCC zX11_Class_UsageName[] =
tSCC zX11_Class_UsageName[] =
"x11_class_usage";
"x11_class_usage";
...
@@ -5461,7 +5498,7 @@ static const char* apzX11_Class_UsagePatch[] = {
...
@@ -5461,7 +5498,7 @@ static const char* apzX11_Class_UsagePatch[] = {
*
*
* Description of X11_New fix
* Description of X11_New fix
*/
*/
#define X11_NEW_FIXIDX 13
5
#define X11_NEW_FIXIDX 13
6
tSCC zX11_NewName[] =
tSCC zX11_NewName[] =
"x11_new";
"x11_new";
...
@@ -5502,7 +5539,7 @@ static const char* apzX11_NewPatch[] = { "sed",
...
@@ -5502,7 +5539,7 @@ static const char* apzX11_NewPatch[] = { "sed",
*
*
* Description of X11_Sprintf fix
* Description of X11_Sprintf fix
*/
*/
#define X11_SPRINTF_FIXIDX 13
6
#define X11_SPRINTF_FIXIDX 13
7
tSCC zX11_SprintfName[] =
tSCC zX11_SprintfName[] =
"x11_sprintf";
"x11_sprintf";
...
@@ -5541,9 +5578,9 @@ static const char* apzX11_SprintfPatch[] = {
...
@@ -5541,9 +5578,9 @@ static const char* apzX11_SprintfPatch[] = {
*
*
* List of all fixes
* List of all fixes
*/
*/
#define REGEX_COUNT 14
4
#define REGEX_COUNT 14
5
#define MACH_LIST_SIZE_LIMIT 279
#define MACH_LIST_SIZE_LIMIT 279
#define FIX_COUNT 13
7
#define FIX_COUNT 13
8
tFixDesc fixDescList[ FIX_COUNT ] = {
tFixDesc fixDescList[ FIX_COUNT ] = {
{ zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
{ zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
...
@@ -6016,6 +6053,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
...
@@ -6016,6 +6053,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aSco_UtimeTests, apzSco_UtimePatch, 0 },
aSco_UtimeTests, apzSco_UtimePatch, 0 },
{ zSolaris27_Mutex_InitName, zSolaris27_Mutex_InitList,
apzSolaris27_Mutex_InitMachs,
SOLARIS27_MUTEX_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aSolaris27_Mutex_InitTests, apzSolaris27_Mutex_InitPatch, 0 },
{ zStatsswtchName, zStatsswtchList,
{ zStatsswtchName, zStatsswtchList,
apzStatsswtchMachs,
apzStatsswtchMachs,
STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
...
...
gcc/fixinc/inclhack.def
View file @
1f98d85e
...
@@ -2044,6 +2044,24 @@ fix = {
...
@@ -2044,6 +2044,24 @@ fix = {
/*
/*
* Sun Solaris 2.7 defines PTHREAD_MUTEX_INITIALIZER with a trailing
* "0" for the last field of the pthread_mutex_t structure, which is
* of type upad64_t, which itself is typedef'd to int64_t, but with
* __STDC__ defined (e.g. by -ansi) it is a union. So change the
* initializer to "{0}" instead
*/
fix = {
hackname = solaris27_mutex_init;
select = '@\(#\)pthread.h' "[ \t]+1.26[ \t]+98/04/12 SMI";
files = pthread.h;
c_fix = format;
c_fix_arg = "%1, {0}}";
c_fix_arg = "(define[ \t]+PTHREAD_MUTEX_INITIALIZER.*),[ \t]*0}$";
test_text = "#define PTHREAD_MUTEX_INITIALIZER {{{0},0}, {{{0}}}, 0}";
};
/*
* Sony NEWSOS 5.0 does not support the complete ANSI C standard.
* Sony NEWSOS 5.0 does not support the complete ANSI C standard.
*/
*/
#ifdef SONY
#ifdef SONY
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment