On 29/09/2011, at 7:41 AM, David Miller wrote: > From: Maxim Kuvyrkov <ma...@codesourcery.com> > Date: Thu, 29 Sep 2011 07:40:55 +1300 > >> On 29/09/2011, at 7:35 AM, David Miller wrote: >> >>> From: Maxim Kuvyrkov <ma...@codesourcery.com> >>> Date: Thu, 29 Sep 2011 07:29:12 +1300 >>> >>>> GLIBC patch to fix locale_t definition is attached. >>> >>> Isn't this going to result in byte loads being used to dereference >>> all locale_t pointers on targets like sparc and mips? >> >> Yes, that's the price for binary compatibility for comparing a pointer to >> -1. I just hope that no common program has locale functions on its critical >> path. > > I personally don't think this is acceptable, critical path or not.
OK. Do you have an alternative suggestion that would fix non-portable use of locale_t? Thank you, -- Maxim Kuvyrkov CodeSourcery / Mentor Graphics