diff options
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r-- | src/buildvm_x86.dasc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc index 6fde191d..14b47089 100644 --- a/src/buildvm_x86.dasc +++ b/src/buildvm_x86.dasc | |||
@@ -6025,7 +6025,11 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
6025 | #endif | 6025 | #endif |
6026 | "\t.align " SZPTR "\n" | 6026 | "\t.align " SZPTR "\n" |
6027 | ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE); | 6027 | ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE); |
6028 | #ifdef __solaris__ | ||
6029 | fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n"); | ||
6030 | #else | ||
6028 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); | 6031 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); |
6032 | #endif | ||
6029 | fprintf(ctx->fp, | 6033 | fprintf(ctx->fp, |
6030 | ".Lframe1:\n" | 6034 | ".Lframe1:\n" |
6031 | "\t.long .LECIE1-.LSCIE1\n" | 6035 | "\t.long .LECIE1-.LSCIE1\n" |