Linking libgcj, and Java security

Andrew Haley aph@redhat.com
Tue Dec 3 08:12:00 GMT 2002


Jeff Sturm writes:
 > On Tue, 3 Dec 2002, Andrew Haley wrote:
 > > Before I submit a patch, is there any good reason _not_ to use
 > > -Bsymbolic?
 > 
 > Back when Bryce and I tried it, it didn't quite work.  IIRC the GC relies
 > on global symbol relocations to resolve DATASTART, DATAEND.  There may be
 > other problems.  There should be some discussion in the archives.

Okay.  I would have thought that the best bet was to fix whatever issues
prevent -Bsymbolic from being used.  Hans?


 > Alternatively, what do you think about using ELF visibility
 > modifiers (e.g. hidden, protected) which can be applied to
 > individual symbols?

That's an idea, but it's more complex and I'm not sure that it would
do everything that we need.  I confess that linker magic is not my
strongest subject.

Andrew.



More information about the Java mailing list