diff options
Diffstat (limited to 'sysdeps/unix/arm/sysdep.S')
-rw-r--r-- | sysdeps/unix/arm/sysdep.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/arm/sysdep.S b/sysdeps/unix/arm/sysdep.S index 5d3ad551c6..d59500e47a 100644 --- a/sysdeps/unix/arm/sysdep.S +++ b/sysdeps/unix/arm/sysdep.S @@ -18,13 +18,13 @@ #include <sysdep.h> #define _ERRNO_H -#include <errnos.h> +#include <bits/errno.h> .globl C_SYMBOL_NAME(errno) .globl syscall_error _errno_loc: .long C_SYMBOL_NAME(errno) - + #undef syscall_error #ifdef NO_UNDERSCORES __syscall_error: @@ -39,7 +39,7 @@ syscall_error: moveq r0, $EAGAIN /* Yes; translate it to EAGAIN. */ #endif #ifndef PIC - ldr r1, _errno_loc + ldr r1, _errno_loc str r0, [r1] #endif mvn r0, $0 |