This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] Make java compiled resources public.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: 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 04:26:04 -0500
- Subject: Re: [PATCH] Make java compiled resources public.
- References: <476A2ADC.3060806@avtrex.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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