This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jakub Jelinek <jakub@redhat.com> writes: > On Tue, Mar 08, 2005 at 05:20:54PM +0100, Andreas Schwab wrote: >> Jakub Jelinek <jakub@redhat.com> writes: >> >> > Now, either we require direct clone/__clone2 users to make sure >> > the stack passed to it is sufficiently aligned >> >> Would __attribute__((aligned)) work here? > > On IA-64 yes, but is __attribute__((aligned)) on all architectures > equal to the needed stack alignment? It can't be worse than the current situation. > If it is bigger than stack alignment, GCC disregards it (or just aligns > to stack alignment?), if it is on some arch smaller than needed stack > alignment, then it will not help. IMHO it should be ok for now. GCC already needs to know how to keep the stack aligned anyway. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |