summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/sparc64/__longjmp.S7
-rw-r--r--libc/sysdeps/linux/sparc64/setjmp.S7
2 files changed, 2 insertions, 12 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)
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) */