summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc64/__longjmp.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/__longjmp.S
parentd05b08ccf92cf121549dc96aebae6deeb0a9c675 (diff)
sparc64: Use the jmpbuf-offsets.h header instead of duplicating it
Diffstat (limited to 'libc/sysdeps/linux/sparc64/__longjmp.S')
-rw-r--r--libc/sysdeps/linux/sparc64/__longjmp.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/sparc64/__longjmp.S b/libc/sysdeps/linux/sparc64/__longjmp.S
index 79cefcc9d..49cef2351 100644
--- a/libc/sysdeps/linux/sparc64/__longjmp.S
+++ b/libc/sysdeps/linux/sparc64/__longjmp.S
@@ -16,12 +16,7 @@
<http://www.gnu.org/licenses/>. */
#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>
ENTRY(__longjmp)