mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix OSX build to work with newer ld64 versions.
This commit is contained in:
parent
b613216efc
commit
1505d6ffde
@ -2505,6 +2505,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
|||||||
for (i = 0; i < ctx->nsym; i++) {
|
for (i = 0; i < ctx->nsym; i++) {
|
||||||
const char *name = ctx->sym[i].name;
|
const char *name = ctx->sym[i].name;
|
||||||
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
|
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
|
||||||
|
if (size == 0) continue;
|
||||||
fprintf(ctx->fp,
|
fprintf(ctx->fp,
|
||||||
"%s.eh:\n"
|
"%s.eh:\n"
|
||||||
"LSFDE%d:\n"
|
"LSFDE%d:\n"
|
||||||
|
@ -2505,6 +2505,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
|||||||
for (i = 0; i < ctx->nsym; i++) {
|
for (i = 0; i < ctx->nsym; i++) {
|
||||||
const char *name = ctx->sym[i].name;
|
const char *name = ctx->sym[i].name;
|
||||||
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
|
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
|
||||||
|
if (size == 0) continue;
|
||||||
fprintf(ctx->fp,
|
fprintf(ctx->fp,
|
||||||
"%s.eh:\n"
|
"%s.eh:\n"
|
||||||
"LSFDE%d:\n"
|
"LSFDE%d:\n"
|
||||||
|
@ -5542,6 +5542,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
|||||||
for (i = 0; i < ctx->nsym; i++) {
|
for (i = 0; i < ctx->nsym; i++) {
|
||||||
const char *name = ctx->sym[i].name;
|
const char *name = ctx->sym[i].name;
|
||||||
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
|
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
|
||||||
|
if (size == 0) continue;
|
||||||
fprintf(ctx->fp,
|
fprintf(ctx->fp,
|
||||||
"%s.eh:\n"
|
"%s.eh:\n"
|
||||||
"LSFDE%d:\n"
|
"LSFDE%d:\n"
|
||||||
|
@ -2639,6 +2639,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
|||||||
for (i = 0; i < ctx->nsym; i++) {
|
for (i = 0; i < ctx->nsym; i++) {
|
||||||
const char *name = ctx->sym[i].name;
|
const char *name = ctx->sym[i].name;
|
||||||
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
|
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
|
||||||
|
if (size == 0) continue;
|
||||||
fprintf(ctx->fp,
|
fprintf(ctx->fp,
|
||||||
"%s.eh:\n"
|
"%s.eh:\n"
|
||||||
"LSFDE%d:\n"
|
"LSFDE%d:\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user