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]

Re: [PATCH] Fix tst-getpid{1,2} on ia64


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?
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.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]