Fix compatibility issues with Illumos.
Thanks to Theo Schlossnagle.
This commit is contained in:
@@ -6152,7 +6152,11 @@ static void emit_asm_debug(BuildCtx *ctx)
|
||||
".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
|
||||
#endif
|
||||
#if (defined(__sun__) && defined(__svr4__))
|
||||
#if LJ_64
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@unwind\n");
|
||||
#else
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
|
||||
#endif
|
||||
#else
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user