mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-31 02:44:37 +08:00
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:
parent
fa9b5c6be7
commit
c70ebb687c
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user