diff options
Diffstat (limited to 'src/buildvm_x64.h')
-rw-r--r-- | src/buildvm_x64.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildvm_x64.h b/src/buildvm_x64.h index 4a96493f..6fe46d9f 100644 --- a/src/buildvm_x64.h +++ b/src/buildvm_x64.h | |||
@@ -3062,7 +3062,11 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
3062 | #endif | 3062 | #endif |
3063 | "\t.align " SZPTR "\n" | 3063 | "\t.align " SZPTR "\n" |
3064 | ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE); | 3064 | ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE); |
3065 | #ifdef __solaris__ | ||
3066 | fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n"); | ||
3067 | #else | ||
3065 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); | 3068 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); |
3069 | #endif | ||
3066 | fprintf(ctx->fp, | 3070 | fprintf(ctx->fp, |
3067 | ".Lframe1:\n" | 3071 | ".Lframe1:\n" |
3068 | "\t.long .LECIE1-.LSCIE1\n" | 3072 | "\t.long .LECIE1-.LSCIE1\n" |