[PATCH] Fix s390 build after PSEUDO* changes

Jakub Jelinek jakub@redhat.com
Wed Mar 26 18:08:00 GMT 2003


Hi!

2003-03-26  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO):
	Fix a typo.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO,
	PSEUDO_END_NOERRNO): Define.
	* sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo.
	Define to PSEUDO_END.

--- libc/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h.jj	2003-03-25 16:41:54.000000000 -0500
+++ libc/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h	2003-03-26 11:53:53.000000000 -0500
@@ -59,7 +59,7 @@
   SYSCALL_ERROR_HANDLER;						      \
   END (name)
 
-#undef PSEUDO
+#undef PSEUDO_NOERRNO
 #define	PSEUDO_NOERRNO(name, syscall_name, args)			      \
   .text;                                                                      \
   ENTRY (name)							              \
--- libc/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h.jj	2003-01-30 05:01:53.000000000 -0500
+++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h	2003-03-26 12:10:29.000000000 -0500
@@ -35,6 +35,7 @@
 
 /* Linux/SPARC uses a different trap number */
 #undef PSEUDO
+#undef PSEUDO_NOERRNO
 #undef ENTRY
 
 #define ENTRY(name)							\
@@ -101,10 +102,20 @@ SYSCALL_ERROR_HANDLER_ENTRY(__syscall_er
 	 nop;								\
 	SYSCALL_ERROR_HANDLER
 
+#define PSEUDO_NOERRNO(name, syscall_name, args)			\
+	.text;								\
+	ENTRY(name);							\
+	LOADSYSCALL(syscall_name);					\
+	ta	0x6d
+
 #undef PSEUDO_END
 #define PSEUDO_END(name)						\
 	.size name,.-name
 
+#undef PSEUDO_END_NOERRNO
+#define PSEUDO_END_NOERRNO(name)					\
+	.size name,.-name
+
 #undef END
 #define END(name)							\
 	.size name,.-name
--- libc/sysdeps/unix/sysdep.h.jj	2003-03-25 16:41:53.000000000 -0500
+++ libc/sysdeps/unix/sysdep.h	2003-03-26 11:58:10.000000000 -0500
@@ -47,8 +47,8 @@
 #ifndef PSEUDO_END
 #define PSEUDO_END(sym)
 #endif
-#ifndef PSEUDO_END_NOENTRY
-#define PSEUDO_END_NOENTRY(sym)
+#ifndef PSEUDO_END_NOERRNO
+#define PSEUDO_END_NOERRNO(sym) PSEUDO_END(sym)
 #endif
 
 /* Wrappers around system calls should normally inline the system call code.

	Jakub



More information about the Libc-hacker mailing list