Commit df3aefb0 by Franz Sirl Committed by Franz Sirl

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
parent 9e6e5068
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 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 (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
......
...@@ -6875,7 +6875,7 @@ rs6000_select_section (decl, reloc) ...@@ -6875,7 +6875,7 @@ rs6000_select_section (decl, reloc)
else else
data_section (); data_section ();
} }
else if (TREE_CODE (decl) == VAR_DECL) else if (TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == CONSTRUCTOR)
{ {
if ((flag_pic && reloc) if ((flag_pic && reloc)
|| ! TREE_READONLY (decl) || ! TREE_READONLY (decl)
......
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