On Thu, Jul 28, 2011 at 12:32:26PM -0700, H.J. Lu wrote: > This patch fixes 2 issues in libgomp for x32: > > 1. x32 should use the same futex functions as x86-64.
What kind of syscalls is -mx32 using on Linux? I thought it was using the -m32 compat layer, isn't that the case? If it works properly this way using a 64-bit syscall, including any needed sign/zero extensions of the arguments, fine. > 2. IA32 tests should check ia32 instead of ilp32. This is certainly fine. Jakub