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:
Franz Sirl 2000-05-16 22:59:41 +00:00 committed by Franz Sirl
parent 9e6e5068b3
commit df3aefb0bf
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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)