From 9684c2784351e5e65524f75a9cc1df8bf93b4c8b Mon Sep 17 00:00:00 2001 From: mirabilos Date: Wed, 9 Oct 2019 23:58:27 +0200 Subject: 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 --- libc/sysdeps/linux/sparc64/jmpbuf-offsets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . */ -#define O_mask_was_saved 512 +#define O_mask_was_saved 496 #define O_gregs 32 #define O_g1 (O_gregs + 4*8) -- cgit v1.2.3