about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@linaro.org>2012-12-10 10:33:30 +0000
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>2012-12-10 10:33:30 +0000
commit99aad51087e2371d5d1061528486368ad1b2a0b9 (patch)
tree8ffbef5c0e4517660b7748b5616e88e822dc2224
parent56e7d3ad5c2f369349bf7def0d8875a50e2d275b (diff)
downloadglibc-99aad51087e2371d5d1061528486368ad1b2a0b9.tar.gz
glibc-99aad51087e2371d5d1061528486368ad1b2a0b9.tar.xz
glibc-99aad51087e2371d5d1061528486368ad1b2a0b9.zip
aarch64: Fix compiler warning for unused declaration _x0
-rw-r--r--ports/ChangeLog.aarch645
-rw-r--r--ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index 376592bbba..44bbd19357 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,3 +1,8 @@
+2012-12-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
+
+	* sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL):
+	Remove _x0 declarations.
+
 2012-12-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 
 	* sysdeps/aarch64/libm-test-ulps: Regenerate.
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index 67132e3791..2263d3d79a 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -242,7 +242,6 @@ __local_syscall_error:						\
 									      \
     if (__vdso_##name != NULL)						      \
       {									      \
-	register long _x0 asm ("x0");					      \
 	v_ret = INTERNAL_VSYSCALL_NCS (__vdso_##name, err, nr, ##args);	      \
 	if (!INTERNAL_SYSCALL_ERROR_P (v_ret, err)			      \
 	    || INTERNAL_SYSCALL_ERRNO (v_ret, err) != ENOSYS)		      \