| ... | @@ -2672,13 +2672,13 @@ fn writeDyldInfo(self: *MachO) !void { | ... | @@ -2672,13 +2672,13 @@ fn writeDyldInfo(self: *MachO) !void { |
| 2672 | var writer: Writer = .fixed(buffer); | 2672 | var writer: Writer = .fixed(buffer); |
| 2673 | | 2673 | |
| 2674 | try self.rebase_section.write(&writer); | 2674 | try self.rebase_section.write(&writer); |
| 2675 | writer.end = cmd.bind_off - base_off; | 2675 | writer.end = @intCast(cmd.bind_off - base_off); |
| 2676 | try self.bind_section.write(&writer); | 2676 | try self.bind_section.write(&writer); |
| 2677 | writer.end = cmd.weak_bind_off - base_off; | 2677 | writer.end = @intCast(cmd.weak_bind_off - base_off); |
| 2678 | try self.weak_bind_section.write(&writer); | 2678 | try self.weak_bind_section.write(&writer); |
| 2679 | writer.end = cmd.lazy_bind_off - base_off; | 2679 | writer.end = @intCast(cmd.lazy_bind_off - base_off); |
| 2680 | try self.lazy_bind_section.write(&writer); | 2680 | try self.lazy_bind_section.write(&writer); |
| 2681 | writer.end = cmd.export_off - base_off; | 2681 | writer.end = @intCast(cmd.export_off - base_off); |
| 2682 | try self.export_trie.write(&writer); | 2682 | try self.export_trie.write(&writer); |
| 2683 | try self.pwriteAll(buffer, cmd.rebase_off); | 2683 | try self.pwriteAll(buffer, cmd.rebase_off); |
| 2684 | } | 2684 | } |