• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂1a0a6bd7d3d1c22a84ec423b8562376979169b31 (tree)
時間2019-10-16 01:18:11
作者mirabilos <m@mirb...>
CommiterWaldemar Brodkorb

Log Message

sparc64: Use the jmpbuf-offsets.h header instead of duplicating it

Change Summary

差異

--- a/libc/sysdeps/linux/sparc64/__longjmp.S
+++ b/libc/sysdeps/linux/sparc64/__longjmp.S
@@ -16,12 +16,7 @@
1616 <http://www.gnu.org/licenses/>. */
1717
1818 #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>
2520
2621 ENTRY(__longjmp)
2722
--- a/libc/sysdeps/linux/sparc64/setjmp.S
+++ b/libc/sysdeps/linux/sparc64/setjmp.S
@@ -19,12 +19,7 @@
1919 Linux/Sparc64. */
2020
2121 #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>
2823
2924 /* int _setjmp(jmp_buf) */
3025