This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: New optimized string routines for Intel and alignment of stack.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: Carlos O'Donell <carlos at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Tue, 7 Jun 2016 17:35:33 +0000
- Subject: Re: New optimized string routines for Intel and alignment of stack.
- Authentication-results: sourceware.org; auth=none
- References: <57566200 dot 2040203 at redhat dot com> <dea8c68f-cc02-9427-4e54-acd795a930cf at redhat dot com>
On Tue, 7 Jun 2016, Florian Weimer wrote:
> On 06/07/2016 07:56 AM, Carlos O'Donell wrote:
> > H.J.,
> >
> > We have had several users that have built legacy applications
> > for 32-bit x86 with stack alignment that does not match the
> > ABI.
>
> Let's say the GNU project broke the i386 ABI, which is more accurate. The
> stack pointer alignment requirement is a recent change.
I place the ABI change around 2006, when GCC stopped using
-mpreferred-stack-boundary=2 even with -Os, and so compatibility
requirements as applying to GLIBC_2.4 and older symbols.
https://sourceware.org/ml/libc-alpha/2013-08/msg00372.html
--
Joseph S. Myers
joseph@codesourcery.com