mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
Include <bits/errno.h> not <errnos.h>.
This commit is contained in:
parent
2ecd6b510f
commit
0fe3c9c4df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user