* config/rs6000/rs6000.c (rs6000_select_section): Handle
CONSTRUCTORs too.
From-SVN: r46792
+2001-11-05 Geoffrey Keating <geoffk@redhat.com>
+
+ * config/rs6000/rs6000.c (rs6000_select_section): Handle
+ CONSTRUCTORs too.
+
2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.c (arm_return_in_memory): Cope with
&& DECL_INITIAL (decl)
&& DECL_INITIAL (decl) != error_mark_node
&& TREE_CONSTANT (DECL_INITIAL (decl)));
+ else if (TREE_CODE (decl) == CONSTRUCTOR)
+ readonly = (! (flag_pic && reloc)
+ && TREE_READONLY (decl)
+ && ! TREE_SIDE_EFFECTS (decl)
+ && TREE_CONSTANT (DECL_INITIAL (decl)));
else
readonly = 1;
if (needs_sdata && rs6000_sdata != SDATA_EABI)