This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: gcj shouldn't use hidden visibility if unsupported (PR target/32462, libgcj/32465)
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: Rainer Orth <ro at techfak dot uni-bielefeld dot de>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Thu, 12 Jul 2007 18:28:53 +0100
- Subject: Re: PATCH: gcj shouldn't use hidden visibility if unsupported (PR target/32462, libgcj/32465)
- References: <18070.25552.653372.618740@manam.TechFak.Uni-Bielefeld.DE>
Rainer Orth writes:
> As described in PR target/32462, gcj currently uses visibility(hidden)
> unconditionally, even if the target doesn't support it. This breaks
> linking both the 32 and 64 bit libgcj.so on Solaris 10/x86 with gas and
> the Sun ld.
>
> The following patch fixes this:
>
> Thu Jul 12 14:48:07 2007 Andrew Haley <aph@redhat.com>
> Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
>
> PR target/32462
> PR libgcj/32465
> * class.c (hide): Wrap in HAVE_GAS_HIDDEN.
OK, thanks.
Andrew.