This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Build shared libraries with -Bsymbolic-functions
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 13 Jan 2007 09:32:09 -0800
- Subject: Re: PATCH: Build shared libraries with -Bsymbolic-functions
- References: <45A8E303.70601@lu.unisi.ch> <200701131713.l0DHD9AE004619@localhost.localdomain>
On Sat, Jan 13, 2007 at 12:13:09PM -0500, Andrew Pinski wrote:
> >
> >
> > >> Since I used -Bsymbolic-functions, it has no effect on data symbols.
> > >>
> > >
> > > I extended -Bsymbolic-functions to libffi, libjava, libmudflap,
> > > libssp and libgcc. There are no regressions:
> > >
> > > http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00511.html
> > > http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00510.html
> > > http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00509.html
> > >
> > > If we apply -Bsymbolic-functions to all shared libraries on a system,
> > > it will improve application startup time and overall runtime
> > > performance.
> >
> > Good. As before, however, I don't understand the overall effect well
> > enough to give an approval myself. Therefore, I suggest that you get
> > the approval of a GWP person (since some of these libraries have no
> > overall maintainer).
> >
> > Otherwise, if you get approval for libgcc, libjava, libobjc,
> > libstdc++-v3, I will approve the rest.
>
> It is wrong for libobjc to have this option. People should be able
> to override the functions so they can debug their stuff.
Is there a list of functions in libobjc which can be overriden when
linking statically?
H.J.