This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Speedup gij/libjava loading on darwin
- From: Andrew Haley <aph at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: patch Patches <gcc-patches at gcc dot gnu dot org>, GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Fri, 19 Aug 2005 10:21:37 +0100
- Subject: Re: [PATCH] Speedup gij/libjava loading on darwin
- References: <89beb28b1fad165ac366b213730f7860@physics.uc.edu>
Andrew Pinski writes:
> On Darwin, libjava testing takes for ever. The issue is that
> loading gij (and the native programs) is slow and most of the time
> is spent dyld (the dynamic loader, like ld.so). If we link with
> -single_module, the issue goes away because the dynamic loader have
> less symbols to resolve at load time.
>
> I stole the code in libobjc and libgfortran which I wrote to fix
> implement this.
>
> OK? Bootstrapped and tested on powerpc-darwin with no regressions.
Looks good. Is -single_module Darwinese for -Bsymbolic?
Andrew.