mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
(PSEUDO_ERRVAL) (PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
This commit is contained in:
@@ -78,7 +78,21 @@
|
|||||||
#define PSEUDO_END_NOERRNO(name) \
|
#define PSEUDO_END_NOERRNO(name) \
|
||||||
END (name)
|
END (name)
|
||||||
|
|
||||||
#define ret_NOERRNO ret
|
#define ret_NOERRNO rts
|
||||||
|
|
||||||
|
/* 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); \
|
||||||
|
negl %d0
|
||||||
|
|
||||||
|
#undef PSEUDO_END_ERRVAL
|
||||||
|
#define PSEUDO_END_ERRVAL(name) \
|
||||||
|
END (name)
|
||||||
|
|
||||||
|
#define ret_ERRVAL rts
|
||||||
|
|
||||||
#ifdef PIC
|
#ifdef PIC
|
||||||
# if RTLD_PRIVATE_ERRNO
|
# if RTLD_PRIVATE_ERRNO
|
||||||
|
Reference in New Issue
Block a user