summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-11-04 08:21:53 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-11-04 08:21:53 +0000
commite554fd93ea048fa4baee95bb2d7d159a509cf0a0 (patch)
tree79a8c6a2444d86130a651d3c53c45e1ddf0b5a73 /gcc/varasm.c
parentbcfbda841ab1be06971b081c0a9743c814b85769 (diff)
downloadgcc-e554fd93ea048fa4baee95bb2d7d159a509cf0a0.tar.gz
(assemble_variable): Set DECL_IN_TEXT_SECTION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 1198e72eb92..0d16e67698f 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1144,6 +1144,10 @@ 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);