PATCH: gcj shouldn't use hidden visibility if unsupported (PR target/32462, libgcj/32465)

Andrew Haley aph-gcc@littlepinkcloud.COM
Thu Jul 12 17:29:00 GMT 2007


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.



More information about the Java-patches mailing list