[Ffmpeg-devel] [PATCH] Staticising mpeg12data header

Rich Felker dalias
Wed Sep 20 06:58:06 CEST 2006


On Tue, Sep 19, 2006 at 09:57:58PM +0300, Uoti Urpala wrote:
> On Tue, 2006-09-19 at 14:52 -0400, Rich Felker wrote:
> > On Tue, Sep 19, 2006 at 07:43:58PM +0200, Diego 'Flameeyes' Petten? wrote:
> > > Plus, you get the interesting upside of having better performance with shared 
> > > libraries, that I still find useful even if I know lot of people disagree 
> > > with the usage of shared libraries in the first place.
> > 
> > -Bsymbolic will give the same benefit. Using static linking will give
> 
> False. Linker options cannot give the same benefit since the compiler
> needs the information during optimization stage.

It can give the benefit of direct calls without using the PLT. It's
only taking the address of the function, or using global vars (evil!)
that will still have to go thru the GOT.

Rich





More information about the ffmpeg-devel mailing list