From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: drepper@ipd.info.uni-karlsruhe.de Cc: egcs@cygnus.com Subject: Re: Another libio patch Date: Sat, 11 Oct 1997 09:49:00 -0000 Message-id: References: X-SW-Source: 1997-10/msg00466.html > > hjl@lucon.org (H.J. Lu) writes: > > > Please discard my previous libio patch. This patch should > > fix both glibc 2 and libc 5. Please let me know the result > > on libc 5.3.12 on linux/x86. > > This looks much better. Though > > > #ifdef weak_alias > > weak_alias (_IO_vsprintf, vsprintf) > > +#else > > +#ifdef __ELF__ > > +#pragma weak vsprintf = _IO_vsprintf > > +#endif > > #endif > > I don't think we should use the alias for other ELF systems (Solaris etc). > I think this should read > > #if defined __linux__ && defined __ELF__ > That is fine. Thanks. H.J.