diff options
Diffstat (limited to 'src/vm_x86.dasc')
-rw-r--r-- | src/vm_x86.dasc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index b4674e2b..f25dfd30 100644 --- a/src/vm_x86.dasc +++ b/src/vm_x86.dasc | |||
@@ -6152,7 +6152,11 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
6152 | ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); | 6152 | ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); |
6153 | #endif | 6153 | #endif |
6154 | #if (defined(__sun__) && defined(__svr4__)) | 6154 | #if (defined(__sun__) && defined(__svr4__)) |
6155 | #if LJ_64 | ||
6156 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@unwind\n"); | ||
6157 | #else | ||
6155 | fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n"); | 6158 | fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n"); |
6159 | #endif | ||
6156 | #else | 6160 | #else |
6157 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); | 6161 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); |
6158 | #endif | 6162 | #endif |