This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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.


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.

	Jakub


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