diff mbox series

[hurd,commited] hurd: Add jmp_buf-macros.h

Message ID 20180106013402.20421-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] hurd: Add jmp_buf-macros.h | expand

Commit Message

Samuel Thibault Jan. 6, 2018, 1:34 a.m. UTC
* sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
---
 ChangeLog                               | 4 ++++
 sysdeps/mach/hurd/i386/jmp_buf-macros.h | 6 ++++++
 2 files changed, 10 insertions(+)
 create mode 100644 sysdeps/mach/hurd/i386/jmp_buf-macros.h
diff mbox series

Patch

diff --git a/ChangeLog b/ChangeLog
index 7a09e8e44a..8833b1da33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 
+2018-01-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
+
 2018-01-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
diff --git a/sysdeps/mach/hurd/i386/jmp_buf-macros.h b/sysdeps/mach/hurd/i386/jmp_buf-macros.h
new file mode 100644
index 0000000000..834f5fb243
--- /dev/null
+++ b/sysdeps/mach/hurd/i386/jmp_buf-macros.h
@@ -0,0 +1,6 @@ 
+#define JMP_BUF_SIZE 32
+#define SIGJMP_BUF_SIZE 32
+#define JMP_BUF_ALIGN 4
+#define SIGJMP_BUF_ALIGN 4
+#define MASK_WAS_SAVED_OFFSET 24
+#define SAVED_MASK_OFFSET 28