Change "g" (general regs) into "r" (hardregs) in clone / modify_ldt /
wine_sigaction __PIC__ cases, since "g" will not work with
-fomit-frame-pointer ("g" is referenced using %esp which was
invalidated before). Bug found and (other) fix suggested by
<daniel@mat.utfsm.cl> Daniel Serpell.
diff --git a/misc/port.c b/misc/port.c
index 07d2650..668bf1a 100644
--- a/misc/port.c
+++ b/misc/port.c
@@ -88,7 +88,7 @@
"xorl %%eax,%%eax\n\t" /* Just in case it does*/
"0:"
: "=a" (ret)
- : "0" (SYS_clone), "g" (flags), "c" (stack_ptr) );
+ : "0" (SYS_clone), "r" (flags), "c" (stack_ptr) );
assert( ret ); /* If ret is 0, we returned from the child function */
if (ret > 0) return ret;
errno = -ret;