diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/host/buildvm_asm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/host/buildvm_asm.c b/src/host/buildvm_asm.c index e7c5de70..1b261206 100644 --- a/src/host/buildvm_asm.c +++ b/src/host/buildvm_asm.c | |||
@@ -339,6 +339,10 @@ void emit_asm(BuildCtx *ctx) | |||
339 | fprintf(ctx->fp, "\t.ident \"%s\"\n", ctx->dasm_ident); | 339 | fprintf(ctx->fp, "\t.ident \"%s\"\n", ctx->dasm_ident); |
340 | break; | 340 | break; |
341 | case BUILD_machasm: | 341 | case BUILD_machasm: |
342 | #if defined(__apple_build_version__) && __apple_build_version__ >= 15000000 && __apple_build_version__ < 15000300 | ||
343 | /* Workaround for XCode 15.0 - 15.2. */ | ||
344 | fprintf(ctx->fp, "\t.subsections_via_symbols\n"); | ||
345 | #endif | ||
342 | fprintf(ctx->fp, | 346 | fprintf(ctx->fp, |
343 | "\t.cstring\n" | 347 | "\t.cstring\n" |
344 | "\t.ascii \"%s\\0\"\n", ctx->dasm_ident); | 348 | "\t.ascii \"%s\\0\"\n", ctx->dasm_ident); |