rs6000.c (rs6000_select_section): Handle CONSTRUCTORs _correctly_.
* config/rs6000/rs6000.c (rs6000_select_section): Handle CONSTRUCTORs _correctly_. From-SVN: r46798
This commit is contained in:
parent
eb6e2e5bef
commit
f3afc192ae
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user