Commit f3afc192 by Geoffrey Keating Committed by Geoffrey Keating

rs6000.c (rs6000_select_section): Handle CONSTRUCTORs _correctly_.

	* config/rs6000/rs6000.c (rs6000_select_section): Handle
	CONSTRUCTORs _correctly_.

From-SVN: r46798
parent eb6e2e5b
2001-11-05 Geoffrey Keating <geoffk@redhat.com>
* config/rs6000/rs6000.c (rs6000_select_section): Handle
CONSTRUCTORs _correctly_.
2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* c-decl.c (delete_block): Remove.
......
......@@ -8313,9 +8313,8 @@ rs6000_select_section (decl, reloc)
&& 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)));
&& TREE_CONSTANT (decl));
else
readonly = 1;
if (needs_sdata && rs6000_sdata != SDATA_EABI)
......
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