PATCH: Use "unsigned long long int" in x86-64 __makecontext

Roland McGrath roland@hack.frob.com
Fri Mar 16 21:37:00 GMT 2012


> I compared the assembly outputs for both x32 and x86-64.  There
> are no differences between "long int" and "unsigned long int" vs.
> "greg_t" on va_arg.  Here is the patch to use  greg_t exclusively.
> OK to install?

That code looks OK, though (greg_t) after (uintptr_t) is really superfluous
since the target of the assignment is a greg_t anyway.
But please remove the erroneous XXX comment too.

This could be a separate change, but it seems wise to make tst-setcontext.c
try some long int and uintptr_t arguments.


Thanks,
Roland



More information about the Libc-alpha mailing list