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
6fa02a05
Commit
6fa02a05
authored
Jan 26, 1996
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deal with names that are encoded with both @ and *.
From-SVN: r11107
parent
b9442c72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
gcc/config/rs6000/sysv4.h
+13
-3
No files found.
gcc/config/rs6000/sysv4.h
View file @
6fa02a05
...
@@ -657,15 +657,25 @@ do { \
...
@@ -657,15 +657,25 @@ do { \
out of the string in a SYMBOL_REF. Discard
out of the string in a SYMBOL_REF. Discard
a leading * or @. */
a leading * or @. */
#undef STRIP_NAME_ENCODING
#undef STRIP_NAME_ENCODING
#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
(VAR) = ((SYMBOL_NAME) + (((SYMBOL_NAME)[0] == '*') || ((SYMBOL_NAME)[0] == '@')))
do { \
char *_name = SYMBOL_NAME; \
while (*_name == '*' || *_name == '@') \
_name++; \
(VAR) = _name; \
} while (0)
/* This is how to output a reference to a user-level label named NAME.
/* This is how to output a reference to a user-level label named NAME.
`assemble_name' uses this. */
`assemble_name' uses this. */
#undef ASM_OUTPUT_LABELREF
#undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE,NAME) \
#define ASM_OUTPUT_LABELREF(FILE,NAME) \
fputs ((NAME) + (NAME[0] == '@'), FILE)
do { \
char *_name = NAME; \
while (*_name == '*' || *_name == '@') \
_name++; \
fputs (_name, FILE); \
} while (0)
/* But, to make this work, we have to output the stabs for the function
/* But, to make this work, we have to output the stabs for the function
name *first*... */
name *first*... */
...
...
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