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
df37d0fa
Commit
df37d0fa
authored
May 01, 1996
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(SELECT_SECTION): If RELOC is true, put it in data.
From-SVN: r11909
parent
3ffcb234
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gcc/config/svr4.h
+4
-3
No files found.
gcc/config/svr4.h
View file @
df37d0fa
...
@@ -666,7 +666,9 @@ do { \
...
@@ -666,7 +666,9 @@ do { \
#define SELECT_SECTION(DECL,RELOC) \
#define SELECT_SECTION(DECL,RELOC) \
{ \
{ \
if (TREE_CODE (DECL) == STRING_CST) \
if (flag_pic && RELOC) \
data_section (); \
else if (TREE_CODE (DECL) == STRING_CST) \
{ \
{ \
if (! flag_writable_strings) \
if (! flag_writable_strings) \
const_section (); \
const_section (); \
...
@@ -675,8 +677,7 @@ do { \
...
@@ -675,8 +677,7 @@ do { \
} \
} \
else if (TREE_CODE (DECL) == VAR_DECL) \
else if (TREE_CODE (DECL) == VAR_DECL) \
{ \
{ \
if ((flag_pic && RELOC) \
if (!TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
|| !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
|| !DECL_INITIAL (DECL) \
|| !DECL_INITIAL (DECL) \
|| (DECL_INITIAL (DECL) != error_mark_node \
|| (DECL_INITIAL (DECL) != error_mark_node \
&& !TREE_CONSTANT (DECL_INITIAL (DECL)))) \
&& !TREE_CONSTANT (DECL_INITIAL (DECL)))) \
...
...
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