From f53c628428c449f84c92a38c39632e63942d492a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 9 Apr 2010 06:20:59 -0700 Subject: Fixes NPTL build on x86. Signed-off-by: Natanael Copa Signed-off-by: Austin Foxley --- libc/sysdeps/linux/i386/bits/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/i386/bits/syscalls.h b/libc/sysdeps/linux/i386/bits/syscalls.h index 0427d91cd..9184bd6c3 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; \ }) -- cgit v1.2.3