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
05be4cea
Commit
05be4cea
authored
Aug 09, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(assembler_variable): For XCOFF_DEBUG, restore section
if dbxout_symbol call changes it. From-SVN: r5122
parent
211b330f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletions
+20
-1
gcc/varasm.c
+20
-1
No files found.
gcc/varasm.c
View file @
05be4cea
...
...
@@ -1048,7 +1048,26 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
/* File-scope global variables are output here. */
if
(
write_symbols
==
XCOFF_DEBUG
&&
top_level
)
dbxout_symbol
(
decl
,
0
);
{
saved_in_section
=
in_section
;
dbxout_symbol
(
decl
,
0
);
if
(
in_section
!=
saved_in_section
)
{
/* Switch to the proper section for this data. */
#ifdef SELECT_SECTION
SELECT_SECTION
(
decl
,
reloc
);
#else
if
(
TREE_READONLY
(
decl
)
&&
!
TREE_THIS_VOLATILE
(
decl
)
&&
!
(
flag_pic
&&
reloc
))
readonly_data_section
();
else
data_section
();
#endif
}
}
#else
/* There must be a statement after a label. */
;
...
...
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