aarch64: Resolve sc_err and _x0 defined but not used warnings.
authorMarcus Shawcroft <marcus.shawcroft@linaro.org>
Fri, 7 Dec 2012 12:33:53 +0000 (12:33 +0000)
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>
Fri, 7 Dec 2012 12:33:53 +0000 (12:33 +0000)
ports/ChangeLog.aarch64
ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h

index cde121efc21fd38672a5fb835897a48c14ff2092..d9d1e08edf5e91d3d68671382785fe85bc71d13b 100644 (file)
@@ -1,3 +1,8 @@
+2012-12-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
+
+       * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):
+       Remove _x0 and sc_err declarations.
+
 2012-12-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 
        * sysdeps/unix/sysv/linux/aarch64/mmap.c (mmap): Cast return value.
index 62871d4feb2199cff16adf7d824115910970fc5f..67132e3791d1d13d9c8ed2280708d68034453841 100644 (file)
@@ -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;                                                           \