From 2240d84464cc3dcb22fd976f1db162b36b5b52d5 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 2 Oct 2024 02:06:25 +0200 Subject: [PATCH] macOS: Fix macOS 15 / Clang 16 build. Note: The -Wl,-no_deduplicate workaround is NOT needed anymore. Thanks to fxcoudert, corsix, clason, baconpaul, mvf. #1275 #1266 --- src/vm_arm64.dasc | 1 - src/vm_x64.dasc | 1 - src/vm_x86.dasc | 1 - 3 files changed, 3 deletions(-) diff --git a/src/vm_arm64.dasc b/src/vm_arm64.dasc index 4753df19..696affc6 100644 --- a/src/vm_arm64.dasc +++ b/src/vm_arm64.dasc @@ -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 diff --git a/src/vm_x64.dasc b/src/vm_x64.dasc index 8c46ea59..b8ecb868 100644 --- a/src/vm_x64.dasc +++ b/src/vm_x64.dasc @@ -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 diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index 9c5ae384..1994c0a0 100644 --- a/src/vm_x86.dasc +++ b/src/vm_x86.dasc @@ -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