]> gcc.gnu.org Git - gcc.git/commitdiff
re PR target/32462 (Linking libgcj.so fails on Solaris 10/x86)
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon, 16 Jul 2007 17:07:25 +0000 (17:07 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 16 Jul 2007 17:07:25 +0000 (17:07 +0000)
PR target/32462
PR libgcj/32465
* class.c (hide): Wrap in HAVE_GAS_HIDDEN.

From-SVN: r126684

gcc/java/ChangeLog
gcc/java/class.c

index e05b4df365f031f94b4f042d674876c0874b9a31..4b1c9ec65f6c9daaacc920d5ba11ac79c3169aaf 100644 (file)
@@ -1,3 +1,9 @@
+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>
 
        * expr.c (expand_java_return): RETURN_EXPR has void type.
index bbfe4f26993400cc312636bb2380ccaa2dcb2972..90381211ed64316e551d17a15f42e0625c274ff1 100644 (file)
@@ -691,10 +691,12 @@ build_java_method_type (tree fntype, tree this_class, int access_flags)
 }
 
 static void
-hide (tree decl)
+hide (tree decl ATTRIBUTE_UNUSED)
 {
+#ifdef HAVE_GAS_HIDDEN
   DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN;
   DECL_VISIBILITY_SPECIFIED (decl) = 1;
+#endif
 }
 
 tree
This page took 0.078756 seconds and 5 git commands to generate.