Subject: Re: Strange libc shared vs. unshared performance
To: Chris G. Demetriou <cgd@alpha.bostic.com>
From: Jason Thorpe <thorpej@cs.orst.edu>
List: port-sparc
Date: 11/12/1994 11:19:58
On Sat, 12 Nov 1994 03:01:40 -0500 
 "Chris G. Demetriou" <cgd@alpha.bostic.com> wrote:

 > if the binary is dynamically linked (i.e. -static is not specified),
 > then the dynamic linking must take place!  it takes place when
 > the program is stated, and it's quite likely that depending on how
 > the program is timed, the dynamic link time is included in the program
 > runtime.

However, the dynamic link occurs fairly early in execution...

On a side note, -static makes no difference on my hp300 or i486...My 
guess is the way gcc 2.4.5 generates code for a sparc...Under SunOS, I've 
seen non-trivial performance increases with gcc 2.5 and 2.6.

--------------------------------------------------------------------------
Jason R. Thorpe               thorpej@cs.orst.edu                 758-2003
Systems Administrator            CSWest Room 5                    737-5567
CS Dept, Oregon State University           http://www.cs.orst.edu/~thorpej
               "I brought my BOWLING BALL -- and some DRUGS!"
                      -- ztp