This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Make java compiled resources public.
- From: Andrew Haley <aph at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: David Daney <ddaney at avtrex dot com>, Java Patch List <java-patches at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 20 Dec 2007 09:55:20 +0000
- Subject: Re: [PATCH] Make java compiled resources public.
- References: <476A2ADC.email@example.com> <20071220092604.GZ20451@devserv.devel.redhat.com>
Jakub Jelinek writes:
> On Thu, Dec 20, 2007 at 12:42:04AM -0800, David Daney wrote:
> > This patch makes java compiled resources public symbols. This is needed
> > so that when statically linking to libgcj, the resource files in
> > libgcj.a can be linked by passing -u to the linker. In 4.2 we could
> > statically link java.util.Currency, but in 4.3 this class now depends on
> > an compiled core:/ resource file. Without this patch it is impossible
> > (or at least very awkward) to force the resource file to be linked.
> If so, at least make the symbols hidden, so that they aren't exported from
> ELF shared libraries where visibility is supported.
Makes sense; this is only for static linking.
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903