]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
macOS: Fix macOS 15 / Clang 16 build.
authorMike Pall <mike>
Wed, 2 Oct 2024 00:06:25 +0000 (02:06 +0200)
committerMike Pall <mike>
Wed, 2 Oct 2024 00:06:25 +0000 (02:06 +0200)
Note: The -Wl,-no_deduplicate workaround is NOT needed anymore.
Thanks to fxcoudert, corsix, clason, baconpaul, mvf. #1275 #1266

src/vm_arm64.dasc
src/vm_x64.dasc
src/vm_x86.dasc

index 4753df19624c49f11ee8f5c20c6115f863b3702e..696affc6907e16825c349529194e3b6a6eefa3a4 100644 (file)
@@ -4212,7 +4212,6 @@ static void emit_asm_debug(BuildCtx *ctx)
        "LEFDEY:\n\n", fcsize);
     }
 #endif
-    fprintf(ctx->fp, ".subsections_via_symbols\n");
     }
     break;
 #endif
index 8c46ea59e9edc2339c40b17c8dd8fd4c2f6a9508..b8ecb8687c281c0d1df154f4c3194c8c78f3ba35 100644 (file)
@@ -4941,7 +4941,6 @@ static void emit_asm_debug(BuildCtx *ctx)
          "LEFDEY:\n\n", fcsize);
     }
 #endif
-    fprintf(ctx->fp, ".subsections_via_symbols\n");
     }
     break;
 #endif
index 9c5ae384db80dd1b226dc4f9b4eec25a90269d87..1994c0a0ca051e69eee6951297fe2ac34974efb2 100644 (file)
@@ -5841,7 +5841,6 @@ static void emit_asm_debug(BuildCtx *ctx)
          fprintf(ctx->fp, "L_%s$stub:\n\t.indirect_symbol _%s\n\t.ascii \"\\364\\364\\364\\364\\364\"\n", *xn, *xn);
     }
 #endif
-    fprintf(ctx->fp, ".subsections_via_symbols\n");
     }
     break;
 #endif