about summary refs log tree commit diff
path: root/setjmp/jmp_buf-macros.sym
diff options
context:
space:
mode:
Diffstat (limited to 'setjmp/jmp_buf-macros.sym')
-rw-r--r--setjmp/jmp_buf-macros.sym11
1 files changed, 11 insertions, 0 deletions
diff --git a/setjmp/jmp_buf-macros.sym b/setjmp/jmp_buf-macros.sym
new file mode 100644
index 0000000000..e43958170d
--- /dev/null
+++ b/setjmp/jmp_buf-macros.sym
@@ -0,0 +1,11 @@
+#include <setjmp.h>
+#include <stddef.h>
+
+--
+
+JMP_BUF_SIZE		sizeof (jmp_buf)
+JMP_BUF_ALIGN		_Alignof (jmp_buf)
+SIGJMP_BUF_SIZE		sizeof (sigjmp_buf)
+SIGJMP_BUF_ALIGN	_Alignof (sigjmp_buf)
+MASK_WAS_SAVED_OFFSET	offsetof (struct __jmp_buf_tag, __mask_was_saved)
+SAVED_MASK_OFFSET	offsetof (struct __jmp_buf_tag, __saved_mask)