From: Marcus Shawcroft Date: Fri, 7 Dec 2012 12:33:53 +0000 (+0000) Subject: aarch64: Resolve sc_err and _x0 defined but not used warnings. X-Git-Tag: glibc-2.17~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82bf34183f65e122c63360f29630299a8f9c1d87;p=thirdparty%2Fglibc.git aarch64: Resolve sc_err and _x0 defined but not used warnings. --- diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64 index cde121efc21..d9d1e08edf5 100644 --- a/ports/ChangeLog.aarch64 +++ b/ports/ChangeLog.aarch64 @@ -1,3 +1,8 @@ +2012-12-07 Marcus Shawcroft + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): + Remove _x0 and sc_err declarations. + 2012-12-07 Marcus Shawcroft * sysdeps/unix/sysv/linux/aarch64/mmap.c (mmap): Cast return value. diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 62871d4feb2..67132e3791d 100644 --- a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h +++ b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h @@ -208,12 +208,10 @@ __local_syscall_error: \ __label__ out; \ __label__ iserr; \ long sc_ret; \ - long sc_err; \ INTERNAL_SYSCALL_DECL (sc_err); \ \ if (__vdso_##name != NULL) \ { \ - register long _x0 asm ("x0"); \ sc_ret = INTERNAL_VSYSCALL_NCS (__vdso_##name, sc_err, nr, ##args); \ if (!INTERNAL_SYSCALL_ERROR_P (sc_ret, sc_err)) \ goto out; \