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
13daf3c1
Commit
13daf3c1
authored
Jul 07, 2001
by
Nick Clifton
Committed by
Nick Clifton
Jul 07, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Append # to end of the label inside NAME as opposed to just the end of NAME.
From-SVN: r43837
parent
3b1e7311
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
6 deletions
+28
-6
gcc/ChangeLog
+5
-0
gcc/config/ia64/sysv4.h
+23
-6
No files found.
gcc/ChangeLog
View file @
13daf3c1
2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
of the label inside NAME as opposed to just the end of NAME.
2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
* config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
...
...
gcc/config/ia64/sysv4.h
View file @
13daf3c1
...
...
@@ -54,18 +54,35 @@ do { \
/* The # tells the Intel assembler that this is not a register name.
However, we can't emit the # in a label definition, so we set a variable
in ASM_OUTPUT_LABEL to control whether we want the postfix here or not. */
in ASM_OUTPUT_LABEL to control whether we want the postfix here or not.
We append the # to the label name, but since NAME can be an expression
we have to scan it for a non-label character and insert the # there. */
#undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(STREAM, NAME) \
do \
do \
{ \
const char *real_name; \
const char * real_name; \
const char * name_end; \
\
STRIP_NAME_ENCODING (real_name, NAME); \
asm_fprintf (STREAM, "%U%s%s", real_name, \
(ia64_asm_output_label ? "" : "#")); \
name_end = strchr (real_name, '+'); \
\
if (name_end) \
* name_end = 0; \
\
asm_fprintf (STREAM, "%U%s", real_name); \
\
if (ia64_asm_output_label) \
asm_fprintf (STREAM, "#"); \
\
if (name_end) \
{ \
* name_end = '+'; \
asm_fprintf (STREAM, name_end); \
} \
} \
while (0)
while (0)
/* Intel assembler requires both flags and type if declaring a non-predefined
section. */
...
...
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