Commit a1920fc3 by Richard Henderson Committed by Richard Henderson

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
parent a82c7f05
2000-05-27 Richard Henderson <rth@cygnus.com> 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. * Makefile.in (resource.o): Depend on except.h.
* except.h (output_exception_table_data): Prototype. * except.h (output_exception_table_data): Prototype.
* genconfig.c (gen_peephole2): Prototype. * genconfig.c (gen_peephole2): Prototype.
...@@ -340,12 +340,11 @@ void FN () \ ...@@ -340,12 +340,11 @@ void FN () \
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_SIDE_EFFECTS (DECL) \ || ! TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
|| !DECL_INITIAL (DECL) \ || ! DECL_INITIAL (DECL) \
|| (DECL_INITIAL (DECL) != error_mark_node \ || (DECL_INITIAL (DECL) != error_mark_node \
&& !TREE_CONSTANT (DECL_INITIAL (DECL)))) \ && !TREE_CONSTANT (DECL_INITIAL (DECL)))) \
{ \ { \
...@@ -358,6 +357,21 @@ void FN () \ ...@@ -358,6 +357,21 @@ void FN () \
else \ else \
const_section (); \ 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 \ else \
const_section (); \ const_section (); \
} }
......
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