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
dd452eba
Commit
dd452eba
authored
Jul 03, 1992
by
Charles Hannum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
entered into RCS
From-SVN: r1412
parent
ed493872
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
gcc/config/svr4.h
+22
-3
No files found.
gcc/config/svr4.h
View file @
dd452eba
...
@@ -193,10 +193,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
...
@@ -193,10 +193,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
.ident string is patterned after the ones produced by native svr4
.ident string is patterned after the ones produced by native svr4
C compilers. */
C compilers. */
#define IDENT_ASM_OP ".ident"
#define ASM_FILE_END(FILE) \
#define ASM_FILE_END(FILE) \
do { \
do { \
fprintf ((FILE), "\t
.ident
\t\"GCC: (GNU) %s\"\n", \
fprintf ((FILE), "\t
%s
\t\"GCC: (GNU) %s\"\n", \
version_string);
\
IDENT_ASM_OP, version_string);
\
} while (0)
} while (0)
/* Allow #sccs in preprocessor. */
/* Allow #sccs in preprocessor. */
...
@@ -206,7 +208,7 @@ do { \
...
@@ -206,7 +208,7 @@ do { \
/* Output #ident as a .ident. */
/* Output #ident as a .ident. */
#define ASM_OUTPUT_IDENT(FILE, NAME) \
#define ASM_OUTPUT_IDENT(FILE, NAME) \
fprintf (FILE, "\t
.ident \"%s\"\n"
, NAME);
fprintf (FILE, "\t
%s\t\"%s\"\n", IDENT_ASM_OP
, NAME);
/* Use periods rather than dollar signs in special g++ assembler names. */
/* Use periods rather than dollar signs in special g++ assembler names. */
...
@@ -315,6 +317,23 @@ do { \
...
@@ -315,6 +317,23 @@ do { \
sprintf (LABEL, "*.%s%d", PREFIX, NUM); \
sprintf (LABEL, "*.%s%d", PREFIX, NUM); \
} while (0)
} while (0)
/* Output the label which preceeds a jumptable. Note that for all svr4
systems where we actually generate jumptables (which is to say every
svr4 target except i386, where we use casesi instead) we put the jump-
tables into the .rodata section and since other stuff could have been
put into the .rodata section prior to any given jumptable, we have to
make sure that the location counter for the .rodata section gets pro-
perly re-aligned prior to the actual beginning of the jump table. */
#define ALIGN_ASM_OP ".align"
#undef ASM_OUTPUT_CASE_LABEL
#define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,JUMPTABLE) \
do { \
ASM_OUTPUT_ALIGN ((FILE), 2); \
ASM_OUTPUT_INTERNAL_LABEL (FILE, PREFIX, NUM); \
} while (0)
/* The standard SVR4 assembler seems to require that certain builtin
/* The standard SVR4 assembler seems to require that certain builtin
library routines (e.g. .udiv) be explicitly declared as .globl
library routines (e.g. .udiv) be explicitly declared as .globl
in each assembly file where they are referenced. */
in each assembly file where they are referenced. */
...
...
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