From 79bba5a9e639ddfb89af95ccf22501d974bd7fe3 Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Sun, 20 Nov 2022 09:29:06 -0600 Subject: [PATCH] uefi: Delete unneeded alignment and use default 4K Closes #7484. Right now for UEFI targets an alignment of 32 is being used for no reason other than support a rare bytecode. As this is far from the standard case, removing this alignment and using the default one, as most toolchains do, should be the desired behavior. --- src/link/Coff/lld.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/link/Coff/lld.zig b/src/link/Coff/lld.zig index ebc2208606..7c53ef30bd 100644 --- a/src/link/Coff/lld.zig +++ b/src/link/Coff/lld.zig @@ -383,7 +383,6 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod "-OPT:REF", "-SAFESEH:NO", "-MERGE:.rdata=.data", - "-ALIGN:32", "-NODEFAULTLIB", "-SECTION:.xdata,D", }),