mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-22 08:09:38 +08:00
* varasm.c (assemble_variable): Fix setting of DECL_IN_TEXT_SECTION.
From-SVN: r111805
This commit is contained in:
parent
1d3dbd99b6
commit
6410fb814b
@ -1,3 +1,7 @@
|
||||
2006-03-07 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* varasm.c (assemble_variable): Fix setting of DECL_IN_TEXT_SECTION.
|
||||
|
||||
2006-03-07 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* hooks.c (hook_bool_mode_rtx_true): New function.
|
||||
|
@ -1818,7 +1818,7 @@ assemble_variable (tree decl, int top_level ATTRIBUTE_UNUSED,
|
||||
output_addressed_constants (DECL_INITIAL (decl));
|
||||
|
||||
/* dbxout.c needs to know this. */
|
||||
if (in_section && (in_section->common.flags & SECTION_CODE) != 0)
|
||||
if (sect && (sect->common.flags & SECTION_CODE) != 0)
|
||||
DECL_IN_TEXT_SECTION (decl) = 1;
|
||||
|
||||
/* If the decl is part of an object_block, make sure that the decl
|
||||
|
Loading…
Reference in New Issue
Block a user