aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm/bits/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/bits/setjmp.h')
-rw-r--r--sysdeps/arm/bits/setjmp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/arm/bits/setjmp.h b/sysdeps/arm/bits/setjmp.h
new file mode 100644
index 0000000000..93b0f5f916
--- /dev/null
+++ b/sysdeps/arm/bits/setjmp.h
@@ -0,0 +1,10 @@
+/* Define the machine-dependent type `jmp_buf'. ARM version. */
+
+#ifndef _ASM
+/* Jump buffer contains v1-v6, sl, fp, sp, pc and (f4-f7) if we do FP. */
+#if __ARM_USES_FP
+typedef int __jmp_buf[22];
+#else
+typedef int __jmp_buf[10];
+#endif
+#endif