(PSEUDO_ERRVAL): Define.
authordrepper <drepper>
Mon, 1 Sep 2003 04:05:21 +0000 (04:05 +0000)
committerdrepper <drepper>
Mon, 1 Sep 2003 04:05:21 +0000 (04:05 +0000)
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.

sysdeps/unix/sysv/linux/sh/sysdep.h

index a2542fb..ee6eec1 100644 (file)
 
 #define ret_NOERRNO ret
 
+#define        PSEUDO_ERRVAL(name, syscall_name, args) \
+ .text; \
+ ENTRY (name); \
+    DO_CALL (syscall_name, args);
+
+#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; \