diff options
author | Richard Stallman <rms@gnu.org> | 1993-11-04 08:21:53 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-11-04 08:21:53 +0000 |
commit | 2c7ec5118621906399571080b8210d26c590b215 (patch) | |
tree | 79a8c6a2444d86130a651d3c53c45e1ddf0b5a73 | |
parent | dddfb74b0b7599fd4e093b69f7f413a4eec1c31b (diff) | |
download | gcc-2c7ec5118621906399571080b8210d26c590b215.zip gcc-2c7ec5118621906399571080b8210d26c590b215.tar.gz gcc-2c7ec5118621906399571080b8210d26c590b215.tar.bz2 |
(assemble_variable): Set DECL_IN_TEXT_SECTION.
From-SVN: r5991
-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 1198e72..0d16e67 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); |