mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Make .eh_frame section read-write on Solaris.
This commit is contained in:
parent
27d8d3b5d9
commit
a58eb604f4
@ -3062,7 +3062,11 @@ static void emit_asm_debug(BuildCtx *ctx)
|
||||
#endif
|
||||
"\t.align " SZPTR "\n"
|
||||
".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
|
||||
#ifdef __solaris__
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
|
||||
#else
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
|
||||
#endif
|
||||
fprintf(ctx->fp,
|
||||
".Lframe1:\n"
|
||||
"\t.long .LECIE1-.LSCIE1\n"
|
||||
|
@ -3060,7 +3060,11 @@ static void emit_asm_debug(BuildCtx *ctx)
|
||||
#endif
|
||||
"\t.align " SZPTR "\n"
|
||||
".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
|
||||
#ifdef __solaris__
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
|
||||
#else
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
|
||||
#endif
|
||||
fprintf(ctx->fp,
|
||||
".Lframe1:\n"
|
||||
"\t.long .LECIE1-.LSCIE1\n"
|
||||
|
@ -6025,7 +6025,11 @@ static void emit_asm_debug(BuildCtx *ctx)
|
||||
#endif
|
||||
"\t.align " SZPTR "\n"
|
||||
".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
|
||||
#ifdef __solaris__
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
|
||||
#else
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
|
||||
#endif
|
||||
fprintf(ctx->fp,
|
||||
".Lframe1:\n"
|
||||
"\t.long .LECIE1-.LSCIE1\n"
|
||||
|
@ -3219,7 +3219,11 @@ static void emit_asm_debug(BuildCtx *ctx)
|
||||
#endif
|
||||
"\t.align " SZPTR "\n"
|
||||
".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
|
||||
#ifdef __solaris__
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
|
||||
#else
|
||||
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
|
||||
#endif
|
||||
fprintf(ctx->fp,
|
||||
".Lframe1:\n"
|
||||
"\t.long .LECIE1-.LSCIE1\n"
|
||||
|
Loading…
Reference in New Issue
Block a user