修訂 | 1a0a6bd7d3d1c22a84ec423b8562376979169b31 (tree) |
---|---|
時間 | 2019-10-16 01:18:11 |
作者 | mirabilos <m@mirb...> |
Commiter | Waldemar Brodkorb |
sparc64: Use the jmpbuf-offsets.h header instead of duplicating it
@@ -16,12 +16,7 @@ | ||
16 | 16 | <http://www.gnu.org/licenses/>. */ |
17 | 17 | |
18 | 18 | #include <sysdep.h> |
19 | - | |
20 | -/* Offsets into the jmp_buf structure. */ | |
21 | - | |
22 | -#define O_mask_was_saved 512 | |
23 | -#define O_gregs 32 | |
24 | -#define O_g1 (O_gregs + 4*8) | |
19 | +#include <jmpbuf-offsets.h> | |
25 | 20 | |
26 | 21 | ENTRY(__longjmp) |
27 | 22 |
@@ -19,12 +19,7 @@ | ||
19 | 19 | Linux/Sparc64. */ |
20 | 20 | |
21 | 21 | #include <sysdep.h> |
22 | - | |
23 | -/* Offsets into the jmp_buf structure. */ | |
24 | - | |
25 | -#define O_mask_was_saved 512 | |
26 | -#define O_gregs 32 | |
27 | -#define O_g1 (O_gregs + 4*8) | |
22 | +#include <jmpbuf-offsets.h> | |
28 | 23 | |
29 | 24 | /* int _setjmp(jmp_buf) */ |
30 | 25 |