• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revision1a0a6bd7d3d1c22a84ec423b8562376979169b31 (tree)
Zeit2019-10-16 01:18:11
Autormirabilos <m@mirb...>
CommiterWaldemar Brodkorb

Log Message

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

Ändern Zusammenfassung

Diff

--- 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