Fixes NPTL build on x86.
---
 libc/sysdeps/linux/i386/bits/syscalls.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libc/sysdeps/linux/i386/bits/syscalls.h 
b/libc/sysdeps/linux/i386/bits/syscalls.h
index 0427d91..9184bd6 100644
--- a/libc/sysdeps/linux/i386/bits/syscalls.h
+++ b/libc/sysdeps/linux/i386/bits/syscalls.h
@@ -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; \
 })
-- 
1.7.0.4

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to