summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc64/setjmp.S
diff options
context:
space:
mode:
authormirabilos <m@mirbsd.org>2019-10-09 23:57:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-15 18:18:11 +0200
commit1a0a6bd7d3d1c22a84ec423b8562376979169b31 (patch)
tree370b0dfe88dd0e25fdcd5f3f7bf7f49c0d1e03a3 /libc/sysdeps/linux/sparc64/setjmp.S
parentd05b08ccf92cf121549dc96aebae6deeb0a9c675 (diff)
sparc64: Use the jmpbuf-offsets.h header instead of duplicating it
Diffstat (limited to 'libc/sysdeps/linux/sparc64/setjmp.S')
-rw-r--r--libc/sysdeps/linux/sparc64/setjmp.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/sparc64/setjmp.S b/libc/sysdeps/linux/sparc64/setjmp.S
index b30c7d744..a329bb7c1 100644
--- a/libc/sysdeps/linux/sparc64/setjmp.S
+++ b/libc/sysdeps/linux/sparc64/setjmp.S
@@ -19,12 +19,7 @@
Linux/Sparc64. */
#include <sysdep.h>
-
-/* Offsets into the jmp_buf structure. */
-
-#define O_mask_was_saved 512
-#define O_gregs 32
-#define O_g1 (O_gregs + 4*8)
+#include <jmpbuf-offsets.h>
/* int _setjmp(jmp_buf) */