This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make java compiled resources public.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]