This is the mail archive of the
mailing list for the glibc project.
Re: Misaligned stack on 32-bit s390?
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Rich Felker <dalias at libc dot org>
- Cc: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>, Carlos O'Donell <carlos at redhat dot com>, Richard Henderson <rth at twiddle dot net>, Siddhesh Poyarekar <siddhesh at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, stli at linux dot vnet dot ibm dot com
- Date: Wed, 12 Nov 2014 23:17:30 +0100
- Subject: Re: Misaligned stack on 32-bit s390?
- Authentication-results: sourceware.org; auth=none
- References: <54619F3E dot 8080306 at redhat dot com> <5461D6CA dot 9030902 at twiddle dot net> <5461DBC4 dot 9090508 at redhat dot com> <5462231E dot 3050502 at linux dot vnet dot ibm dot com> <5462DB6B dot 8060405 at redhat dot com> <546322E9 dot 3060501 at linux dot vnet dot ibm dot com> <20141112214626 dot GL22465 at brightrain dot aerifal dot cx>
Rich Felker <email@example.com> writes:
> On Wed, Nov 12, 2014 at 10:05:45AM +0100, Andreas Krebbel wrote:
>> The reason probably is that the broken alignment never reaches the executable. In _start.S we
>> correct the alignment again. So it really is only a problem for code executed between the argv
>> adjustments done by ld.so and the entry point of the executable.
> How/why does any code get executed in that interval anyway?
It's the dynamic linker itself and the init code.
Andreas Schwab, firstname.lastname@example.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."