On Tuesday 05 January 2010 22:26:44 Serge E. Hallyn wrote:
> Quoting Jiri Palecek ([email protected]):
> > Michal, I suspect the failures you see are somehow related to
> > alignment (that your architecture doesn't like odd addresses). Is
> > that right? Under x86, the address gets aligned (so some of the
> > space is unused).
> >
> > Perhaps both of these behaviors should be tested by LTP?
> 
> Gah, yes, Nathan had mentioned arches where this matters (including
> some power?).  Nathan, did you have a generic fix for this in
> userspace?  Should always be safe to do
>       (stack + stack_size - 1) & ~0xf
> ?

(sizeof(long double)-1) would probably be better than 0xf
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to