]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[AArch64] Fix BE access to errno.
authorAndrew Pinski <andrew.pinski@caviumnetworks.com>
Mon, 30 Sep 2013 09:58:26 +0000 (10:58 +0100)
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>
Mon, 30 Sep 2013 09:58:26 +0000 (10:58 +0100)
ports/ChangeLog.aarch64
ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h

index 3daf3ed4958e8116bd7e720874e6b6a5f77cc249..cebf5055d5ac50d667dd74f05302af3bee4fffbe 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-30  Andrew Pinski <andrew.pinski@caviumnetworks.com>
+
+       * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SYSCALL_ERROR_HANDLER):
+       Fix store to errno to use 32bits.
+
 2013-09-24  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
 
        * sysdeps/aarch64/machine-gmon.h (__mcount): Accept parameter and
index 849c904992aceb9722b2451a0f5f1156db1fb27a..9a7b16735c0ee5bc7c9d863ec552ae506d890e1d 100644 (file)
@@ -134,7 +134,7 @@ __local_syscall_error:                                              \
         str     x19, [sp,16];                                  \
        neg     x19, x0;                                        \
        bl      C_SYMBOL_NAME(__errno_location);                \
-       str     x19, [x0];                                      \
+       str     w19, [x0];                                      \
        mov     x0, -1;                                         \
         ldr     x19, [sp,16];                                  \
         ldp     x29, x30, [sp], 32;                            \