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
c23a9d0e
Commit
c23a9d0e
authored
May 24, 1995
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r9794
parent
16b3c7c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
10 deletions
+23
-10
gcc/config/rs6000/rs6000.h
+23
-10
No files found.
gcc/config/rs6000/rs6000.h
View file @
c23a9d0e
...
@@ -1974,17 +1974,30 @@ toc_section () \
...
@@ -1974,17 +1974,30 @@ 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] == '*' || (NAME)[strlen (NAME) - 1] != ']') \
{ \
assemble_name (FILE, NAME); \
char *_p; \
else \
{ \
int _len = strlen (NAME); \
char *_p = alloca (_len + 1); \
\
\
strcpy (_p, NAME); \
STRIP_NAME_ENCODING (_p, (NAME)); \
_p[_len - 4] = '\0'; \
assemble_name ((FILE), _p); \
assemble_name (FILE, _p); \
}
}
/* Remove any trailing [DS] or the like from the symbol name. */
#define STRIP_NAME_ENCODING(VAR,NAME) \
do \
{ \
if ((NAME)[0] == '*' || (NAME)[strlen (NAME) - 1] != ']') \
(VAR) = (NAME); \
else \
{ \
int _len = strlen (NAME); \
(VAR) = alloca (_len + 1); \
\
strcpy ((VAR), NAME); \
(VAR)[_len - 4] = '\0'; \
} \
} \
while (0)
/* Output something to declare an external symbol to the assembler. Most
/* Output something to declare an external symbol to the assembler. Most
assemblers don't need this.
assemblers don't need this.
...
...
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