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] Speedup gij/libjava loading on darwin


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.


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