On Fri, Nov 07, 2008 at 05:49:14PM -0500, Michael Kerrisk wrote: > How would folk feel about the addition of the following test under > NOTES? Are the staments about x86-64 accurate? > > On architectures where int and pointer types are the same > size (e.g., x86-32, where both types are 32 bits), you > may be able to get away with passing pointers as argu- > ments to makecontext() following argc. However, doing > this is not guaranteed to be portable, is undefined > according to the standards, and won't work on architec- > tures where pointers are larger than ints. Nevertheless, > starting with version 2.8 glibc makes some changes to > makecontext(3), to permit this on some 64-bit architec- > tures (e.g., x86-64).
That looks good to me. I'd be happy with that. -- Paul "LeoNerd" Evans [EMAIL PROTECTED] ICQ# 4135350 | Registered Linux# 179460 http://www.leonerd.org.uk/
signature.asc
Description: Digital signature