This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Misaligned stack on 32-bit s390?
- From: Andreas Schwab <schwab at suse dot de>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Cc: "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: Tue, 11 Nov 2014 17:33:45 +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>
Andreas Krebbel <krebbel@linux.vnet.ibm.com> writes:
> As I understand it an alignment fix is only required if _dl_skip_args is
> odd. So what about
> checking the least significant bit (tmll) and copying argv/envv down by 4
> bytes? That way we would
> not need to copy anything in 50% of the cases?
I don't think it makes sense optimizing for this case, which is rare
outside of runing the glibc testsuite.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."