From 995a05b173d110e6259d35bdd0aa7e4754b7ac87 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Mon, 30 Sep 2013 10:58:26 +0100 Subject: [AArch64] Fix BE access to errno. --- ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ports/sysdeps') diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 849c904992..9a7b16735c 100644 --- a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h +++ b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h @@ -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; \ -- cgit 1.4.1