From e945619728110affb389402ff1ce06d65470cdd2 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Thu, 13 Jan 2022 21:15:17 +0100 Subject: [PATCH] macho: remove todo from getMatchingSectionDecl --- src/link/MachO.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/link/MachO.zig b/src/link/MachO.zig index 0ee0879290..7dd674eed9 100644 --- a/src/link/MachO.zig +++ b/src/link/MachO.zig @@ -3741,7 +3741,7 @@ fn getMatchingSectionDecl(self: *MachO, decl: *Module.Decl) !MatchingSection { .segname = makeStaticString("__DATA_CONST"), .sectname = makeStaticString("__const"), .size = code.len, - .@"align" = 3, // TODO I think this should not be needed + .@"align" = align_log_2, })).?; } else { break :blk (try self.getMatchingSection(.{