CONSOLE: Fix PS3 build.
This commit is contained in:
@@ -4804,7 +4804,11 @@ static void emit_asm_debug(BuildCtx *ctx)
|
||||
"\t.long .LEFDE1-.LASFDE1\n"
|
||||
".LASFDE1:\n"
|
||||
"\t.long .Lframe0\n"
|
||||
#if LJ_TARGET_PS3
|
||||
"\t.long .lj_vm_ffi_call\n"
|
||||
#else
|
||||
"\t.long lj_vm_ffi_call\n"
|
||||
#endif
|
||||
"\t.long %d\n"
|
||||
"\t.byte 0x11\n\t.uleb128 65\n\t.sleb128 -1\n"
|
||||
"\t.byte 0x8e\n\t.uleb128 2\n"
|
||||
@@ -4812,6 +4816,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
||||
"\t.align 2\n"
|
||||
".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
|
||||
#endif
|
||||
#if !LJ_NO_UNWIND
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
|
||||
fprintf(ctx->fp,
|
||||
".Lframe1:\n"
|
||||
@@ -4879,6 +4884,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
||||
"\t.byte 0xd\n\t.uleb128 0xe\n"
|
||||
"\t.align 2\n"
|
||||
".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
|
||||
#endif
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user