summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/sysdep.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-12 22:23:26 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-12 22:23:26 +0000
commit94e4041cd3cfa0fedd775d44efc2209f53c07ad1 (patch)
tree765b031a038c32ba367689786af6b3a87ee7b9fe /libc/sysdeps/linux/sparc/sysdep.h
parentffdab6f3bff9a31e895695309cea1e60d96a352b (diff)
Some sparc updates from Stanley <ngstanley@cwc.nus.edu.sg>
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;
+