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
a8e2f179
Commit
a8e2f179
authored
Nov 04, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(assemble_variable): Set DECL_IN_TEXT_SECTION somewhat earlier.
From-SVN: r5994
parent
2708da92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
gcc/varasm.c
+6
-4
No files found.
gcc/varasm.c
View file @
a8e2f179
...
...
@@ -1103,6 +1103,10 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
data_section
();
#endif
/* dbxout.c needs to know this. */
if
(
in_text_section
())
DECL_IN_TEXT_SECTION
(
decl
)
=
1
;
/* Record current section so we can restore it if dbxout.c clobbers it. */
saved_in_section
=
in_section
;
...
...
@@ -1129,6 +1133,8 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
while we are doing our final traversal of the chain of file-scope
declarations. */
/* If the debugging output changed sections, reselect the section
that's supposed to be selected. */
if
(
in_section
!=
saved_in_section
)
{
/* Switch to the proper section for this data. */
...
...
@@ -1144,10 +1150,6 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
#endif
}
/* dbxout.c needs to know this. */
if
(
in_text_section
())
DECL_IN_TEXT_SECTION
(
decl
)
=
1
;
/* Compute and output the alignment of this data. */
align
=
DECL_ALIGN
(
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