This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Fixup PPC symbol versioning for libgcc symbols
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: Roland McGrath <roland at frob dot com>
- Cc: libc-alpha at sources dot redhat dot com, drepper at redhat dot com
- Date: Mon, 19 Aug 2002 22:26:39 -0400 (EDT)
- Subject: Re: [PATCH] Fixup PPC symbol versioning for libgcc symbols
Roland,
I don't quite see where the SHLIB_COMPAT test would ever disable
this code. The libgcc-compat code is wrappered by...
+#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_2_6)
which to me seems to indicate that --enable-oldest-abi=2.3 will enable
these symbols. Besides these symbols don't have anything to do with
glibc 2.2.5 vs 2.2.90 or 2.3. Rather they are required because of
the .hidden added to the libgcc routines starting with gcc 3.1.
That is my understanding anyway. That before gcc 3.1 these symbols
were being resolved to some random library as libgcc wasn't marking
them .hidden. So if one wants to suppress the code in libgcc-compat
the toggle would be a gcc < 3.1 vs gcc >= 3.1 one not on glibc
versions. As the symbols are marked for run-time resolution only,
I don't quite see the problem either way as they won't be exported
for linking in any case.
Jack