mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 04:03:35 +08:00
Update.
2003-08-25 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define. (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
This commit is contained in:
parent
bb606fbeaf
commit
47ceb39de3
@ -1,3 +1,8 @@
|
||||
2003-08-25 Philip Blundell <philb@gnu.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define.
|
||||
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
|
||||
|
||||
2003-08-18 Alfred M. Szmidt <ams@kemisten.nu>
|
||||
|
||||
* sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine
|
||||
|
@ -80,6 +80,20 @@
|
||||
#define PSEUDO_END_NOERRNO(name) \
|
||||
END (name)
|
||||
|
||||
/* The function has to return the error code. */
|
||||
#undef PSEUDO_ERRVAL
|
||||
#define PSEUDO_ERRVAL(name, syscall_name, args) \
|
||||
.text; \
|
||||
ENTRY (name) \
|
||||
DO_CALL (syscall_name, args); \
|
||||
rsb r0, r0, #0
|
||||
|
||||
#undef PSEUDO_END_ERRVAL
|
||||
#define PSEUDO_END_ERRVAL(name) \
|
||||
END (name)
|
||||
|
||||
#define ret_ERRVAL PSEUDO_RET_NOERRNO
|
||||
|
||||
#if NOT_IN_libc
|
||||
# define SYSCALL_ERROR __local_syscall_error
|
||||
# define SYSCALL_ERROR_HANDLER \
|
||||
|
Loading…
Reference in New Issue
Block a user