mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 15:54:17 +08:00
rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like VAR_DECL.
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like VAR_DECL. From-SVN: r33946
This commit is contained in:
parent
9e6e5068b3
commit
df3aefb0bf
@ -1,5 +1,8 @@
|
||||
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||
|
||||
* rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
|
||||
VAR_DECL.
|
||||
|
||||
* rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
|
||||
|
||||
* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
|
||||
|
@ -6875,7 +6875,7 @@ rs6000_select_section (decl, reloc)
|
||||
else
|
||||
data_section ();
|
||||
}
|
||||
else if (TREE_CODE (decl) == VAR_DECL)
|
||||
else if (TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == CONSTRUCTOR)
|
||||
{
|
||||
if ((flag_pic && reloc)
|
||||
|| ! TREE_READONLY (decl)
|
||||
|
Loading…
Reference in New Issue
Block a user