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
c0388f29
Commit
c0388f29
authored
Mar 20, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(EXTRA_SECTIONS): Write zeros first time in .rdata.
From-SVN: r9211
parent
d2d671fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
+13
-1
gcc/config/alpha/alpha.h
+13
-1
No files found.
gcc/config/alpha/alpha.h
View file @
c0388f29
...
...
@@ -1509,7 +1509,11 @@ extern char *current_function_name;
#define DATA_SECTION_ASM_OP ".data"
/* Define an extra section for read-only data, a routine to enter it, and
indicate that it is for read-only data. */
indicate that it is for read-only data.
The first timem we enter the readonly data sectiono for a file, we write
eight bytes of zero. This works around a bug in DEC's assembler in
some versions of OSF/1 V3.x. */
#define EXTRA_SECTIONS readonly_data
...
...
@@ -1519,7 +1523,15 @@ literal_section () \
{ \
if (in_section != readonly_data) \
{ \
static int firsttime = 1; \
\
fprintf (asm_out_file, "%s\n", READONLY_DATA_SECTION_ASM_OP); \
if (firsttime) \
{ \
firsttime = 0; \
ASM_OUTPUT_DOUBLE_INT (asm_out_file, const0_rtx); \
} \
\
in_section = readonly_data; \
} \
} \
...
...
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