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
fd0a3915
Commit
fd0a3915
authored
May 22, 2002
by
Bruce Korb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regen: Use c_fix = format instead of sed
From-SVN: r53722
parent
021c1f34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
gcc/fixinc/fixincl.x
+6
-5
No files found.
gcc/fixinc/fixincl.x
View file @
fd0a3915
...
@@ -4577,7 +4577,7 @@ tSCC zThread_KeywordName[] =
...
@@ -4577,7 +4577,7 @@ tSCC zThread_KeywordName[] =
* File name selection pattern
* File name selection pattern
*/
*/
tSCC zThread_KeywordList[] =
tSCC zThread_KeywordList[] =
"|
bits/sigthread.h|p
thread.h|";
"|
pthread.h|bits/sig
thread.h|";
/*
/*
* Machine/OS name selection pattern
* Machine/OS name selection pattern
*/
*/
...
@@ -4587,7 +4587,7 @@ tSCC zThread_KeywordList[] =
...
@@ -4587,7 +4587,7 @@ tSCC zThread_KeywordList[] =
* content selection pattern - do fix if pattern found
* content selection pattern - do fix if pattern found
*/
*/
tSCC zThread_KeywordSelect0[] =
tSCC zThread_KeywordSelect0[] =
"
__thread
";
"
pthread_t __thread([^a-z0-9_])
";
#define THREAD_KEYWORD_TEST_CT 1
#define THREAD_KEYWORD_TEST_CT 1
static tTestDesc aThread_KeywordTests[] = {
static tTestDesc aThread_KeywordTests[] = {
...
@@ -4596,8 +4596,9 @@ static tTestDesc aThread_KeywordTests[] = {
...
@@ -4596,8 +4596,9 @@ static tTestDesc aThread_KeywordTests[] = {
/*
/*
* Fix Command Arguments for Thread_Keyword
* Fix Command Arguments for Thread_Keyword
*/
*/
static const char* apzThread_KeywordPatch[] = { "sed",
static const char* apzThread_KeywordPatch[] = {
"-e", "s/\\([^a-z0-9_]\\)__thread\\([^a-z0-9_]\\)/\\1__thr\\2/g",
"format",
"pthread_t __thr%1",
(char*)NULL };
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
...
@@ -6445,7 +6446,7 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
...
@@ -6445,7 +6446,7 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
{ zThread_KeywordName, zThread_KeywordList,
{ zThread_KeywordName, zThread_KeywordList,
apzThread_KeywordMachs,
apzThread_KeywordMachs,
THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY,
THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY
| FD_SUBROUTINE
,
aThread_KeywordTests, apzThread_KeywordPatch, 0 },
aThread_KeywordTests, apzThread_KeywordPatch, 0 },
{ zTinfo_CplusplusName, zTinfo_CplusplusList,
{ zTinfo_CplusplusName, zTinfo_CplusplusList,
...
...
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