Commit 79bba5a9e6

David Gonzalez Martin <davidgm94.work@protonmail.com>
2022-11-20 16:29:06
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.
1 parent 8c7712d
Changed files (1)
src
link
Coff
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",
             }),