elf.h (SELECT_SECTION): Mirror Kenner's May 19 change to config/elfos.h.

* config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
        change to config/elfos.h.

From-SVN: r34221
This commit is contained in:
Richard Henderson 2000-05-27 19:21:54 -07:00 committed by Richard Henderson
parent a82c7f05c4
commit a1920fc3d7
2 changed files with 23 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2000-05-27 Richard Henderson <rth@cygnus.com>
* config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
change to config/elfos.h.
2000-05-27 Richard Henderson <rth@cygnus.com>
* Makefile.in (resource.o): Depend on except.h.

View file

@ -340,12 +340,11 @@ void FN () \
else \
data_section (); \
} \
else if (TREE_CODE (DECL) == VAR_DECL \
|| TREE_CODE (DECL) == CONSTRUCTOR) \
else if (TREE_CODE (DECL) == VAR_DECL) \
{ \
if ((flag_pic && RELOC) \
|| !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
|| !DECL_INITIAL (DECL) \
|| ! TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
|| ! DECL_INITIAL (DECL) \
|| (DECL_INITIAL (DECL) != error_mark_node \
&& !TREE_CONSTANT (DECL_INITIAL (DECL)))) \
{ \
@ -358,6 +357,21 @@ void FN () \
else \
const_section (); \
} \
else if (TREE_CODE (DECL) == CONSTRUCTOR) \
{ \
if ((flag_pic && RELOC) \
|| ! TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
|| ! TREE_CONSTANT (DECL)) \
{ \
int size = int_size_in_bytes (TREE_TYPE (DECL)); \
if (size >= 0 && size <= g_switch_value) \
sdata_section (); \
else \
data_section (); \
} \
else \
const_section (); \
} \
else \
const_section (); \
}