summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/sysdep.h')
-rw-r--r--libc/sysdeps/linux/sparc/sysdep.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sparc/sysdep.h b/libc/sysdeps/linux/sparc/sysdep.h
index 015dd6e1b..1553ff06d 100644
--- a/libc/sysdeps/linux/sparc/sysdep.h
+++ b/libc/sysdeps/linux/sparc/sysdep.h
@@ -132,3 +132,15 @@ Cambridge, MA 02139, USA. */
#define END(name)
.size name,.-name;
+
+#define PSEUDO(name, syscall_name, args) \
+ .text; \
+ ENTRY(name); \
+ ta 0x10; \
+ bcc,a 9000f; \
+ nop; \
+9000:;
+
+#define PSEUDO_END(name) \
+ .size name,.-name;
+