Ticket #41288: luajit_patch_leopard.diff.txt

File luajit_patch_leopard.diff.txt, 525 bytes (added by mackyle@…, 10 years ago)

Patch to build luajit on leopard

Line 
1diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc
2index a36d2aa7..44595b85 100644
3--- a/src/vm_x86.dasc
4+++ b/src/vm_x86.dasc
5@@ -6349,7 +6349,7 @@ static void emit_asm_debug(BuildCtx *ctx)
6 #else
7          "\t.byte 0xe\n\t.byte 8\n"            /* def_cfa_offset */
8          "\t.byte 0x84\n\t.byte 0x2\n"         /* offset ebp (4 for MACH-O)*/
9-         "\t.byte 0xd\n\t.uleb128 0x4\n"       /* def_cfa_register ebp */
10+         "\t.byte 0xd\n\t.byte 0x4\n"          /* def_cfa_register ebp */
11          "\t.byte 0x83\n\t.byte 0x3\n"         /* offset ebx */
12 #endif
13          "\t.align " BSZPTR "\n"