#define PSEUDO_END_ERRVAL(name) \
END (name)
+#undef ret_ERRVAL
#define ret_ERRVAL PSEUDO_RET_NOERRNO
#if defined NOT_IN_libc
#define JUMPTARGET(sym) sym
#endif
+#define ret_ERRVAL ret
+
/* Macros to generate eh_frame unwind information. */
# ifdef HAVE_ASM_CFI_DIRECTIVES
# define cfi_sections(sect...) .cfi_sections sect
#ifndef _SYSDEP_H_
#define _SYSDEP_H_
-#include <sys/syscall.h>
+#include <common/sysdep.h>
#ifndef C_LABEL
#define PSEUDO_END_ERRVAL(name) \
END (name)
-#define ret_ERRVAL ret
-
#ifndef __PIC__
# define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */
#else
#ifndef _LINUX_IA64_SYSDEP_H
#define _LINUX_IA64_SYSDEP_H 1
+#include <common/sysdep.h>
#include <features.h>
#include <asm/unistd.h>
#define ret br.ret.sptk.few b0
#define ret_NOERRNO ret
-#define ret_ERRVAL ret
#endif /* not __ASSEMBLER__ */
#undef PSEUDO_END_ERRVAL
#define PSEUDO_END_ERRVAL(sym) .end sym; .size sym,.-sym
-#define ret_ERRVAL ret
-
#define r0 v0
#define r1 v1
/* The mips move insn is d,s. */
#define PSEUDO_RET_ERRVAL \
blr
+#undef ret_ERRVAL
#define ret_ERRVAL PSEUDO_RET_ERRVAL
#undef PSEUDO_END_ERRVAL
#define PSEUDO_RET_ERRVAL \
blr
+#undef ret_ERRVAL
#define ret_ERRVAL PSEUDO_RET_ERRVAL
#undef PSEUDO_END_ERRVAL
#define PSEUDO_END_ERRVAL(name) \
END (name)
-#define ret_ERRVAL ret
-
#ifndef __PIC__
# define SYSCALL_ERROR_HANDLER \
mov.l 0f,r1; \
# define PSEUDO_END_ERRVAL(name) \
END (name)
-# define ret_ERRVAL ret
-
# ifndef __PIC__
# define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */
# elif defined(RTLD_PRIVATE_ERRNO)
#define PSEUDO_END_ERRVAL(name) \
END (name)
+#undef ret_ERRVAL
#define ret_ERRVAL retw
#if defined RTLD_PRIVATE_ERRNO