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
99d3d26e
Commit
99d3d26e
authored
Jul 04, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(RS6000_OUTPUT_BASENAME): Always call assembler_name and pass the
actual symbol name. From-SVN: r7652
parent
648fb7cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
gcc/config/rs6000/rs6000.h
+7
-4
No files found.
gcc/config/rs6000/rs6000.h
View file @
99d3d26e
...
@@ -1818,13 +1818,16 @@ toc_section () \
...
@@ -1818,13 +1818,16 @@ toc_section () \
/* This outputs NAME to FILE up to the first null or '['. */
/* This outputs NAME to FILE up to the first null or '['. */
#define RS6000_OUTPUT_BASENAME(FILE, NAME) \
#define RS6000_OUTPUT_BASENAME(FILE, NAME) \
if ((NAME)[0] == '*'
)
\
if ((NAME)[0] == '*'
|| (NAME)[strlen (NAME) - 1] != ']')
\
assemble_name (FILE, NAME); \
assemble_name (FILE, NAME); \
else \
else \
{ \
{ \
char *_p; \
int _len = strlen (NAME); \
for (_p = (NAME); *_p && *_p != '['; _p++) \
char *_p = alloca (_len + 1); \
fputc (*_p, FILE); \
\
strcpy (_p, NAME); \
_p[_len - 4] = '\0'; \
assemble_name (FILE, _p); \
}
}
/* Output something to declare an external symbol to the assembler. Most
/* Output something to declare an external symbol to the assembler. Most
...
...
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