about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sh/sysdep.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-01 04:06:40 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-01 04:06:40 +0000
commit5acf789a5ac76e8ca8e6edb2fe8ea4d6accccea1 (patch)
tree0ef44f3fb9b9a3bced80a4198e712c3b3db06ba9 /sysdeps/unix/sysv/linux/sh/sysdep.h
parenteef80cf88046fdcfc70cbf2eb7617aadf9afbe98 (diff)
downloadglibc-5acf789a5ac76e8ca8e6edb2fe8ea4d6accccea1.tar.gz
glibc-5acf789a5ac76e8ca8e6edb2fe8ea4d6accccea1.tar.xz
glibc-5acf789a5ac76e8ca8e6edb2fe8ea4d6accccea1.zip
Update.
2003-08-31  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/Versions: Add posix_fadvise64 and
	posix_fallocate64 at GLIBC_2.3.3.
	* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO_ERRVAL): Define.
	(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/sh/sysdep.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.h b/sysdeps/unix/sysv/linux/sh/sysdep.h
index a2542fbb09..ee6eec1956 100644
--- a/sysdeps/unix/sysv/linux/sh/sysdep.h
+++ b/sysdeps/unix/sysv/linux/sh/sysdep.h
@@ -77,6 +77,17 @@
 
 #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; \