summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/or1k/jmpbuf-offsets.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/or1k/jmpbuf-offsets.h')
-rw-r--r--libc/sysdeps/linux/or1k/jmpbuf-offsets.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/or1k/jmpbuf-offsets.h b/libc/sysdeps/linux/or1k/jmpbuf-offsets.h
new file mode 100644
index 000000000..8cd82a104
--- /dev/null
+++ b/libc/sysdeps/linux/or1k/jmpbuf-offsets.h
@@ -0,0 +1,8 @@
+#include <features.h>
+
+#define JB_SR 0
+#define JB_GPRS 1
+#define JB_SP 1
+#define JB_LR 9
+#define JB_RV 11
+#define JB_SIZE (32*4)