This is the mail archive of the gcc-patches@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: typeof woes in symbol renaming, or glibc x gcc




--On Wednesday, August 14, 2002 01:28:52 AM -0300 Alexandre Oliva <aoliva@redhat.com> wrote:

A recent change in glibc exposed a latent bug in GCC.  Glibc uses some
tricks to rename symbols, that have worked on functions for a while,
but that had never been used on data symbols, and they happened to
malfunction on platforms that defined ASM_OUTPUT_EXTERNAL (IA64, MIPS
and a few others).  It failed because, given the following code:
OK, thanks.

I will note that this was the one of the easier patches to approve in
a long time.  Excellent description of the problem, as well as a nice
clean fix.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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