This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Build shared libraries with -Bsymbolic-functions


H. J. Lu wrote:
On Wed, Jan 10, 2007 at 06:26:09AM -0700, Tom Tromey wrote:
"H.J." == H J Lu <hjl@lucon.org> writes:
H.J.> With the new linker switches, -Bsymbolic-functions and
H.J.> --dynamic-list-cpp-new, we can improve shared library
H.J.> performance in gcc. This change will build libstdc++.so with
H.J.> -Bsymbolic-functions and --dynamic-list-cpp-new. I can expand it
H.J.> to other libraries.

I prefer to see semi-generic helper code like this in a new .m4 file
in config.  That makes it somewhat simpler for other target libraries
to reuse it.


Here it is. If it is OK, I will extend it to Java and Fortran.

If the libstdc++ bits are ok, the config bits are ok but please put them in a new file. lib-ld.m4 is imported from gettext. (And commit the config part to both gcc and src).


Paolo


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