]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix OSX build to work with newer ld64 versions.
authorMike Pall <mike>
Wed, 2 Feb 2011 01:31:59 +0000 (02:31 +0100)
committerMike Pall <mike>
Wed, 2 Feb 2011 01:31:59 +0000 (02:31 +0100)
src/buildvm_x64.h
src/buildvm_x64win.h
src/buildvm_x86.dasc
src/buildvm_x86.h

index 5739e65a906ca73ca47ba5d79d91bbc6582888d1..ce6ca83051ef96822e4de9db1f4b8194d3e81f65 100644 (file)
@@ -2505,6 +2505,7 @@ static void emit_asm_debug(BuildCtx *ctx)
     for (i = 0; i < ctx->nsym; i++) {
       const char *name = ctx->sym[i].name;
       int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
+      if (size == 0) continue;
       fprintf(ctx->fp,
          "%s.eh:\n"
          "LSFDE%d:\n"
index 578bc904395f54c4139198d44d4a52626816b8bd..33083596217847f209eaf743e89dd8a1416e823f 100644 (file)
@@ -2505,6 +2505,7 @@ static void emit_asm_debug(BuildCtx *ctx)
     for (i = 0; i < ctx->nsym; i++) {
       const char *name = ctx->sym[i].name;
       int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
+      if (size == 0) continue;
       fprintf(ctx->fp,
          "%s.eh:\n"
          "LSFDE%d:\n"
index 1ef3d4d9cab3b47871f5213f5e5da3e1b5f5e35c..268aa5d46babf7444a428920d4b4d2061abdc8ce 100644 (file)
@@ -5542,6 +5542,7 @@ static void emit_asm_debug(BuildCtx *ctx)
     for (i = 0; i < ctx->nsym; i++) {
       const char *name = ctx->sym[i].name;
       int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
+      if (size == 0) continue;
       fprintf(ctx->fp,
          "%s.eh:\n"
          "LSFDE%d:\n"
index abdadbe2856dcaf402a6a636d5429143f8cdefc7..7c5e1bc08715e7e46280cdfcb6cc3f8db9bd63f9 100644 (file)
@@ -2639,6 +2639,7 @@ static void emit_asm_debug(BuildCtx *ctx)
     for (i = 0; i < ctx->nsym; i++) {
       const char *name = ctx->sym[i].name;
       int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
+      if (size == 0) continue;
       fprintf(ctx->fp,
          "%s.eh:\n"
          "LSFDE%d:\n"