More fixes for the Solaris/x86 build. Thanks to Will Metcalf.

This commit is contained in:
Mike Pall
2011-06-14 16:44:20 +02:00
parent 9cf2cd2a11
commit 3d1563524f
8 changed files with 15 additions and 7 deletions

View File

@@ -3060,7 +3060,7 @@ static void emit_asm_debug(BuildCtx *ctx)
#endif
"\t.align " SZPTR "\n"
".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
#ifdef __solaris__
#if (defined(__sun__) && defined(__svr4__)) || defined(__solaris_)
fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
#else
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");