This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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] 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


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