authorgravatar for davidgm94.work@protonmail.comDavid Gonzalez Martin <davidgm94.work@protonmail.com> 2022-11-20 09:29:06-06:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-11-20 18:11:43-05:00
log79bba5a9e639ddfb89af95ccf22501d974bd7fe3
tree6b3da4ad2f50c3ec04f12b21d36599a1fa1d23f0
parent8c7712d8fac35e69069aff07c4f61f5d5620d316

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 files changed, 0 insertions(+), 1 deletions(-)

src/link/Coff/lld.zig-1
......@@ -383,7 +383,6 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod
383383 "-OPT:REF",
384384 "-SAFESEH:NO",
385385 "-MERGE:.rdata=.data",
386 "-ALIGN:32",
387386 "-NODEFAULTLIB",
388387 "-SECTION:.xdata,D",
389388 }),