Commit eb9ec0d4 by Rainer Orth Committed by Rainer Orth

* class.c (build_utf8_ref): Test for HAVE_GAS_SHF_MERGE value.

From-SVN: r71733
parent ff42324e
2003-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* class.c (build_utf8_ref): Test for HAVE_GAS_SHF_MERGE value.
2003-09-23 Roger Sayle <roger@eyesopen.com> 2003-09-23 Roger Sayle <roger@eyesopen.com>
* jcf-write.c (generate_bytecode_insns): Optimize binary operations * jcf-write.c (generate_bytecode_insns): Optimize binary operations
......
...@@ -779,7 +779,8 @@ build_utf8_ref (tree name) ...@@ -779,7 +779,8 @@ build_utf8_ref (tree name)
TREE_READONLY (decl) = 1; TREE_READONLY (decl) = 1;
TREE_THIS_VOLATILE (decl) = 0; TREE_THIS_VOLATILE (decl) = 0;
DECL_INITIAL (decl) = cinit; DECL_INITIAL (decl) = cinit;
#ifdef HAVE_GAS_SHF_MERGE
if (HAVE_GAS_SHF_MERGE)
{ {
int decl_size; int decl_size;
/* Ensure decl_size is a multiple of utf8const_type's alignment. */ /* Ensure decl_size is a multiple of utf8const_type's alignment. */
...@@ -795,7 +796,7 @@ build_utf8_ref (tree name) ...@@ -795,7 +796,7 @@ build_utf8_ref (tree name)
DECL_SECTION_NAME (decl) = build_string (strlen (buf), buf); DECL_SECTION_NAME (decl) = build_string (strlen (buf), buf);
} }
} }
#endif
TREE_CHAIN (decl) = utf8_decl_list; TREE_CHAIN (decl) = utf8_decl_list;
layout_decl (decl, 0); layout_decl (decl, 0);
pushdecl (decl); pushdecl (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