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
This commit is contained in:
Richard Henderson 2001-11-26 14:16:56 -08:00 committed by Richard Henderson
parent fa9b5c6be7
commit c70ebb687c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* rs6000.c (output_mi_thunk): Handle minimal-toc and call

View File

@ -387,7 +387,7 @@ const_section () \
else if (TREE_CODE (DECL) == CONSTRUCTOR) \
{ \
if ((flag_pic && RELOC) \
|| !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
|| TREE_SIDE_EFFECTS (DECL) \
|| ! TREE_CONSTANT (DECL)) \
data_section (); \
else \