mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +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>
|
#include <sysdep.h>
|
||||||
#define _ERRNO_H
|
#define _ERRNO_H
|
||||||
#include <errnos.h>
|
#include <bits/errno.h>
|
||||||
|
|
||||||
.globl C_SYMBOL_NAME(errno)
|
.globl C_SYMBOL_NAME(errno)
|
||||||
.globl syscall_error
|
.globl syscall_error
|
||||||
|
|
||||||
_errno_loc: .long C_SYMBOL_NAME(errno)
|
_errno_loc: .long C_SYMBOL_NAME(errno)
|
||||||
|
|
||||||
#undef syscall_error
|
#undef syscall_error
|
||||||
#ifdef NO_UNDERSCORES
|
#ifdef NO_UNDERSCORES
|
||||||
__syscall_error:
|
__syscall_error:
|
||||||
@ -39,7 +39,7 @@ syscall_error:
|
|||||||
moveq r0, $EAGAIN /* Yes; translate it to EAGAIN. */
|
moveq r0, $EAGAIN /* Yes; translate it to EAGAIN. */
|
||||||
#endif
|
#endif
|
||||||
#ifndef PIC
|
#ifndef PIC
|
||||||
ldr r1, _errno_loc
|
ldr r1, _errno_loc
|
||||||
str r0, [r1]
|
str r0, [r1]
|
||||||
#endif
|
#endif
|
||||||
mvn r0, $0
|
mvn r0, $0
|
||||||
|
Loading…
Reference in New Issue
Block a user