[PATCH] Make java compiled resources public.
Andrew Haley
aph@redhat.com
Thu Dec 20 10:29:00 GMT 2007
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.
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903
More information about the Gcc-patches
mailing list