PATCH: Build shared libraries with -Bsymbolic-functions

Andrew Pinski pinskia@physics.uc.edu
Sat Jan 13 17:12:00 GMT 2007


> 
> 
> >> 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.

-- Pinski



More information about the Gcc-patches mailing list