summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc64/jmpbuf-offsets.h
diff options
context:
space:
mode:
authormirabilos <m@mirbsd.org>2019-10-09 23:58:27 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-15 18:18:11 +0200
commit9684c2784351e5e65524f75a9cc1df8bf93b4c8b (patch)
treeb83989bbe592863ee8bcf7e38193bfe0657968eb /libc/sysdeps/linux/sparc64/jmpbuf-offsets.h
parent81ebf8bc1d0ca2f549f14346fac279dbcf124433 (diff)
Fix value for O_mask_was_saved based on gdb observation
(gdb) print offsetof(struct __jmp_buf_tag, __mask_was_saved) $12 = (int *) 0x1f0 using https://stackoverflow.com/a/39663128/2171120
Diffstat (limited to 'libc/sysdeps/linux/sparc64/jmpbuf-offsets.h')
-rw-r--r--libc/sysdeps/linux/sparc64/jmpbuf-offsets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc64/jmpbuf-offsets.h b/libc/sysdeps/linux/sparc64/jmpbuf-offsets.h
index e273f5561..f433365a2 100644
--- a/libc/sysdeps/linux/sparc64/jmpbuf-offsets.h
+++ b/libc/sysdeps/linux/sparc64/jmpbuf-offsets.h
@@ -15,6 +15,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#define O_mask_was_saved 512
+#define O_mask_was_saved 496
#define O_gregs 32
#define O_g1 (O_gregs + 4*8)