about summary refs log tree commit diff
path: root/sysdeps/arm/bits
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/bits')
-rw-r--r--sysdeps/arm/bits/endian.h3
-rw-r--r--sysdeps/arm/bits/setjmp.h10
2 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/arm/bits/endian.h b/sysdeps/arm/bits/endian.h
new file mode 100644
index 0000000000..32f8489df2
--- /dev/null
+++ b/sysdeps/arm/bits/endian.h
@@ -0,0 +1,3 @@
+/* ARM is little-endian.  */
+
+#define __BYTE_ORDER __LITTLE_ENDIAN
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