[AArch64] Fix BE access to errno.

This commit is contained in:
Andrew Pinski 2013-09-30 10:58:26 +01:00 committed by Marcus Shawcroft
parent b2179107f3
commit 995a05b173
2 changed files with 6 additions and 1 deletions

View 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

View 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; \