diff options
Diffstat (limited to 'src/vm_ppc.dasc')
-rw-r--r-- | src/vm_ppc.dasc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm_ppc.dasc b/src/vm_ppc.dasc index 49f92d0a..2c4940cd 100644 --- a/src/vm_ppc.dasc +++ b/src/vm_ppc.dasc | |||
@@ -4804,7 +4804,11 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
4804 | "\t.long .LEFDE1-.LASFDE1\n" | 4804 | "\t.long .LEFDE1-.LASFDE1\n" |
4805 | ".LASFDE1:\n" | 4805 | ".LASFDE1:\n" |
4806 | "\t.long .Lframe0\n" | 4806 | "\t.long .Lframe0\n" |
4807 | #if LJ_TARGET_PS3 | ||
4808 | "\t.long .lj_vm_ffi_call\n" | ||
4809 | #else | ||
4807 | "\t.long lj_vm_ffi_call\n" | 4810 | "\t.long lj_vm_ffi_call\n" |
4811 | #endif | ||
4808 | "\t.long %d\n" | 4812 | "\t.long %d\n" |
4809 | "\t.byte 0x11\n\t.uleb128 65\n\t.sleb128 -1\n" | 4813 | "\t.byte 0x11\n\t.uleb128 65\n\t.sleb128 -1\n" |
4810 | "\t.byte 0x8e\n\t.uleb128 2\n" | 4814 | "\t.byte 0x8e\n\t.uleb128 2\n" |
@@ -4812,6 +4816,7 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
4812 | "\t.align 2\n" | 4816 | "\t.align 2\n" |
4813 | ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); | 4817 | ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); |
4814 | #endif | 4818 | #endif |
4819 | #if !LJ_NO_UNWIND | ||
4815 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); | 4820 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); |
4816 | fprintf(ctx->fp, | 4821 | fprintf(ctx->fp, |
4817 | ".Lframe1:\n" | 4822 | ".Lframe1:\n" |
@@ -4880,6 +4885,7 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
4880 | "\t.align 2\n" | 4885 | "\t.align 2\n" |
4881 | ".LEFDE3:\n\n", (int)ctx->codesz - fcofs); | 4886 | ".LEFDE3:\n\n", (int)ctx->codesz - fcofs); |
4882 | #endif | 4887 | #endif |
4888 | #endif | ||
4883 | break; | 4889 | break; |
4884 | default: | 4890 | default: |
4885 | break; | 4891 | break; |