[PATCH] Fix sparc64 build

Jakub Jelinek jakub@redhat.com
Mon Apr 14 13:36:00 GMT 2003


Hi!

ret_NOERRNO was not defined on sparc64...

2003-04-14  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO):
	Define.

--- libc/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h.jj	2003-04-01 04:21:01.000000000 -0500
+++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h	2003-04-13 18:51:30.000000000 -0400
@@ -122,6 +122,7 @@ SYSCALL_ERROR_HANDLER_ENTRY(__syscall_er
 
 /* Careful here!  This "ret" define can interfere; use jmpl if unsure.  */
 #define ret             retl; nop
+#define ret_NOERRNO	retl; nop
 #define r0              %o0
 #define r1              %o1
 #define MOVE(x,y)       mov x, y

	Jakub



More information about the Libc-hacker mailing list