diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-11-04 08:21:53 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-11-04 08:21:53 +0000 |
commit | e554fd93ea048fa4baee95bb2d7d159a509cf0a0 (patch) | |
tree | 79a8c6a2444d86130a651d3c53c45e1ddf0b5a73 /gcc/varasm.c | |
parent | bcfbda841ab1be06971b081c0a9743c814b85769 (diff) | |
download | gcc-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.c | 4 |
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); |