This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Linking libgcj, and Java security
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.