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
e56fa6bb
Commit
e56fa6bb
authored
Jul 22, 2011
by
Michael Meissner
Committed by
Michael Meissner
Jul 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow linux ppc to bootstrap again
From-SVN: r176631
parent
b75d1e21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
gcc/ChangeLog
+5
-0
gcc/config/rs6000/rs6000.c
+6
-5
No files found.
gcc/ChangeLog
View file @
e56fa6bb
2011-07-20 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_xcoff_strip_dollar): Rewrite to
avoid warnings when GCC is built with a C++ compiler.
2011-07-22 Martin Jambor <mjambor@suse.cz>
2011-07-22 Martin Jambor <mjambor@suse.cz>
PR lto/49796
PR lto/49796
...
...
gcc/config/rs6000/rs6000.c
View file @
e56fa6bb
...
@@ -21894,17 +21894,18 @@ const char *
...
@@ -21894,17 +21894,18 @@ const char *
rs6000_xcoff_strip_dollar
(
const
char
*
name
)
rs6000_xcoff_strip_dollar
(
const
char
*
name
)
{
{
char
*
strip
,
*
p
;
char
*
strip
,
*
p
;
int
len
;
const
char
*
q
;
size_t
len
;
p
=
strchr
(
name
,
'$'
);
q
=
(
const
char
*
)
strchr
(
name
,
'$'
);
if
(
p
==
0
||
p
==
name
)
if
(
q
==
0
||
q
==
name
)
return
name
;
return
name
;
len
=
strlen
(
name
);
len
=
strlen
(
name
);
strip
=
(
char
*
)
alloca
(
len
+
1
);
strip
=
XALLOCAVEC
(
char
,
len
+
1
);
strcpy
(
strip
,
name
);
strcpy
(
strip
,
name
);
p
=
str
chr
(
strip
,
'$'
);
p
=
str
ip
+
(
q
-
name
);
while
(
p
)
while
(
p
)
{
{
*
p
=
'_'
;
*
p
=
'_'
;
...
...
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