commit 79bba5a9e639ddfb89af95ccf22501d974bd7fe3 (tree)
parent 8c7712d8fac35e69069aff07c4f61f5d5620d316
Author: David Gonzalez Martin <davidgm94.work@protonmail.com>
Date: Sun, 20 Nov 2022 09:29:06 -0600
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.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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",
}),