Commit e945619728

Jakub Konka <kubkon@jakubkonka.com>
2022-01-13 21:15:17
macho: remove todo from getMatchingSectionDecl
1 parent c5ee73f
Changed files (1)
src
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(.{