Commit c70ebb68 by Richard Henderson Committed by Richard Henderson

elfos.h (SELECT_SECTION): Don't check TREE_READONLY for CONSTRUCTOR.

        * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
        for CONSTRUCTOR.

From-SVN: r47357
parent fa9b5c6b
2001-11-26 Richard Henderson <rth@redhat.com>
* config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
for CONSTRUCTOR.
2001-11-26 David Edelsohn <edelsohn@gnu.org> 2001-11-26 David Edelsohn <edelsohn@gnu.org>
* rs6000.c (output_mi_thunk): Handle minimal-toc and call * rs6000.c (output_mi_thunk): Handle minimal-toc and call
......
...@@ -387,7 +387,7 @@ const_section () \ ...@@ -387,7 +387,7 @@ const_section () \
else if (TREE_CODE (DECL) == CONSTRUCTOR) \ else if (TREE_CODE (DECL) == CONSTRUCTOR) \
{ \ { \
if ((flag_pic && RELOC) \ if ((flag_pic && RELOC) \
|| !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \ || TREE_SIDE_EFFECTS (DECL) \
|| ! TREE_CONSTANT (DECL)) \ || ! TREE_CONSTANT (DECL)) \
data_section (); \ data_section (); \
else \ else \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment