diff options
Diffstat (limited to 'src/buildvm_x86.h')
-rw-r--r-- | src/buildvm_x86.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildvm_x86.h b/src/buildvm_x86.h index 44f47339..831a00ab 100644 --- a/src/buildvm_x86.h +++ b/src/buildvm_x86.h | |||
@@ -3219,7 +3219,11 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
3219 | #endif | 3219 | #endif |
3220 | "\t.align " SZPTR "\n" | 3220 | "\t.align " SZPTR "\n" |
3221 | ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE); | 3221 | ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE); |
3222 | #ifdef __solaris__ | ||
3223 | fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n"); | ||
3224 | #else | ||
3222 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); | 3225 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); |
3226 | #endif | ||
3223 | fprintf(ctx->fp, | 3227 | fprintf(ctx->fp, |
3224 | ".Lframe1:\n" | 3228 | ".Lframe1:\n" |
3225 | "\t.long .LECIE1-.LSCIE1\n" | 3229 | "\t.long .LECIE1-.LSCIE1\n" |