• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Révision9684c2784351e5e65524f75a9cc1df8bf93b4c8b (tree)
l'heure2019-10-16 01:18:11
Auteurmirabilos <m@mirb...>
CommiterWaldemar Brodkorb

Message de Log

Fix value for O_mask_was_saved based on gdb observation

(gdb) print offsetof(struct jmp_buf_tag, mask_was_saved)
$12 = (int *) 0x1f0

using https://stackoverflow.com/a/39663128/2171120

Change Summary

Modification

--- a/libc/sysdeps/linux/sparc64/jmpbuf-offsets.h
+++ b/libc/sysdeps/linux/sparc64/jmpbuf-offsets.h
@@ -15,6 +15,6 @@
1515 License along with the GNU C Library; if not, see
1616 <http://www.gnu.org/licenses/>. */
1717
18-#define O_mask_was_saved 512
18+#define O_mask_was_saved 496
1919 #define O_gregs 32
2020 #define O_g1 (O_gregs + 4*8)