From 504a2012f43f26b8b1be6a7d851d95e584fbf3a6 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 24 Apr 2026 16:02:04 -0700 Subject: [PATCH] fix float neg on mach-o neg for float uses xorp[sd] with a 16-byte memory operand. This matches what clang emits with --target=x86_64-apple-darwin. --- emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emit.c b/emit.c index 4bd67d1..45a6e5a 100644 --- a/emit.c +++ b/emit.c @@ -221,7 +221,7 @@ macho_emitfin(FILE *f) static char *sec[3] = { "__TEXT,__literal4,4byte_literals", "__TEXT,__literal8,8byte_literals", - ".abort \"unreachable\"", + "__TEXT,__literal16,16byte_literals", }; emitfin(f, sec);