OSDN Git Service

Fixes NPTL build on x86.
authorNatanael Copa <natanael.copa@gmail.com>
Fri, 9 Apr 2010 13:20:59 +0000 (06:20 -0700)
committerAustin Foxley <austinf@cetoncorp.com>
Fri, 9 Apr 2010 13:27:24 +0000 (06:27 -0700)
Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libc/sysdeps/linux/i386/bits/syscalls.h

index 0427d91..9184bd6 100644 (file)
@@ -23,7 +23,7 @@
                "int    $0x80\n\t"                              \
                RESTOREARGS_##nr                                \
                : "=a" (resultvar)                              \
-               : "i" (name) ASMFMT_##nr(args) : "memory", "cc" \
+               : "g" (name) ASMFMT_##nr(args) : "memory", "cc" \
        ); \
        (int) resultvar; \
 })