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
cadc24d1
Commit
cadc24d1
authored
Jan 28, 1997
by
Stan Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add code to handle alternate sections when
From-SVN: r13558
parent
9788ff4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
gcc/config/i386/sco5.h
+7
-13
No files found.
gcc/config/i386/sco5.h
View file @
cadc24d1
...
...
@@ -134,9 +134,6 @@ Boston, MA 02111-1307, USA. */
#define SCO_DEFAULT_ASM_COFF(FILE,NAME) \
do { \
if (output_bytecode) \
BC_OUTPUT_LABEL (FILE, NAME); \
else \
ASM_OUTPUT_LABEL (FILE, NAME); \
} while (0)
...
...
@@ -322,7 +319,6 @@ do { \
#undef ASM_OUTPUT_ASCII
#define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \
do { \
if (TARGET_ELF) { \
register unsigned char *_ascii_bytes = (unsigned char *) (STR); \
register unsigned char *limit = _ascii_bytes + (LENGTH); \
register unsigned bytes_in_chunk = 0; \
...
...
@@ -358,15 +354,7 @@ do { \
} \
if (bytes_in_chunk > 0) \
fprintf ((FILE), "\n"); \
} else { \
int i = 0; \
while (i < (LENGTH)) \
{ if (i%10 == 0) { if (i!=0) fprintf ((FILE), "\n"); \
fprintf ((FILE), "%s ", ASM_BYTE_OP); } \
else fprintf ((FILE), ","); \
fprintf ((FILE), "0x%x", ((STR)[i++] & 0377)) ;} \
fprintf ((FILE), "\n"); } \
} while (0)
} while (0)
#undef ASM_OUTPUT_CASE_LABEL
#define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,JUMPTABLE) \
...
...
@@ -491,10 +479,16 @@ do { \
#undef ASM_OUTPUT_SECTION_NAME
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME) \
do { \
char *snam = NAME ; \
if (strcmp(NAME, ".gcc_except_table") == 0) snam = ".gccexc" ; \
if (TARGET_ELF) \
fprintf (FILE, ".section\t%s,\"%s\",@progbits\n", NAME, \
(DECL) && TREE_CODE (DECL) == FUNCTION_DECL ? "ax" : \
(DECL) && TREE_READONLY (DECL) ? "a" : "aw"); \
else \
fprintf (FILE, ".section\t%s,\"%s\"\n", snam, \
(DECL) && TREE_CODE (DECL) == FUNCTION_DECL ? "x" : \
(DECL) && TREE_READONLY (DECL) ? "a" : "w"); \
} while (0)
#undef ASM_OUTPUT_SKIP
...
...
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