This is the mail archive of the java@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]

Re: dynamic library cost (was RE: libtool, java woes)


On Apr 10, 2001, "Boehm, Hans" <hans_boehm@hp.com> wrote:

> Even if you unconditionally compile the library as PIC, there's
> still the issue of whether the client can directly branch it, or
> branch to an indirect branch to the routine (X86) or branch to a
> more complicated trampoline (IA64).

Indeed.  It's not just an issue of having one register put aside to
point to the GOT.  Going through the PLT can indeed get quite
more expensive than a direct call.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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