Commit c1331fd4 by Rainer Orth Committed by Rainer Orth

re PR target/32462 (Linking libgcj.so fails on Solaris 10/x86)

	PR target/32462
	PR libgcj/32465
	* class.c (hide): Wrap in HAVE_GAS_HIDDEN.

From-SVN: r126684
parent 04a49983
2007-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR target/32462
PR libgcj/32465
* class.c (hide): Wrap in HAVE_GAS_HIDDEN.
2007-07-12 Richard Guenther <rguenther@suse.de> 2007-07-12 Richard Guenther <rguenther@suse.de>
* expr.c (expand_java_return): RETURN_EXPR has void type. * expr.c (expand_java_return): RETURN_EXPR has void type.
......
...@@ -691,10 +691,12 @@ build_java_method_type (tree fntype, tree this_class, int access_flags) ...@@ -691,10 +691,12 @@ build_java_method_type (tree fntype, tree this_class, int access_flags)
} }
static void static void
hide (tree decl) hide (tree decl ATTRIBUTE_UNUSED)
{ {
#ifdef HAVE_GAS_HIDDEN
DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN; DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN;
DECL_VISIBILITY_SPECIFIED (decl) = 1; DECL_VISIBILITY_SPECIFIED (decl) = 1;
#endif
} }
tree tree
......
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