summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-26 18:15:57 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-26 18:15:57 +0000
commitda058e4542e6aaaef9258f1c94b450f4b32063f0 (patch)
tree9f41446e9dfe62469ffafc76b1977f470e6aa98e /sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
parent441ee04334e65e41ac637f110af76f0f46e78f34 (diff)
downloadglibc-da058e4542e6aaaef9258f1c94b450f4b32063f0.tar.gz
(__getgroups): Fix the error condition check for the return value of getgroups32.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h b/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
index e2bb8631a3..cd907da26f 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
@@ -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_error_handler) \
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