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
This commit is contained in:
parent
04a4998306
commit
c1331fd4fb
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user