| ... | ... | @@ -1672,7 +1672,7 @@ pub fn allocateAtom(self: *MachO, atom: *TextBlock, match: MatchingSection) !u64 |
| 1672 | 1672 | break :blk new_start_vaddr; |
| 1673 | 1673 | } else sect.addr; |
| 1674 | 1674 | |
| 1675 | | log.warn("allocating atom for symbol {s} at address 0x{x}", .{ self.getString(sym.n_strx), vaddr }); |
| 1675 | log.debug("allocating atom for symbol {s} at address 0x{x}", .{ self.getString(sym.n_strx), vaddr }); |
| 1676 | 1676 | |
| 1677 | 1677 | const expand_section = atom_placement == null or atom_placement.?.next == null; |
| 1678 | 1678 | if (expand_section) { |
| ... | ... | @@ -3803,13 +3803,13 @@ fn growSection(self: *MachO, match: MatchingSection, new_size: u32) !void { |
| 3803 | 3803 | |
| 3804 | 3804 | if (last_sect_off + offset_amt > seg_off) { |
| 3805 | 3805 | // Need to grow segment first. |
| 3806 | | log.warn(" (need to grow segment first)", .{}); |
| 3806 | log.debug(" (need to grow segment first)", .{}); |
| 3807 | 3807 | const spill_size = (last_sect_off + offset_amt) - seg_off; |
| 3808 | 3808 | const seg_offset_amt = mem.alignForwardGeneric(u64, spill_size, self.page_size); |
| 3809 | 3809 | seg.inner.filesize += seg_offset_amt; |
| 3810 | 3810 | seg.inner.vmsize += seg_offset_amt; |
| 3811 | 3811 | |
| 3812 | | log.warn(" (new {s} segment file offsets from 0x{x} to 0x{x} (in memory 0x{x} to 0x{x}))", .{ |
| 3812 | log.debug(" (new {s} segment file offsets from 0x{x} to 0x{x} (in memory 0x{x} to 0x{x}))", .{ |
| 3813 | 3813 | seg.inner.segname, |
| 3814 | 3814 | seg.inner.fileoff, |
| 3815 | 3815 | seg.inner.fileoff + seg.inner.filesize, |
| ... | ... | @@ -3836,7 +3836,7 @@ fn growSection(self: *MachO, match: MatchingSection, new_size: u32) !void { |
| 3836 | 3836 | next_seg.inner.fileoff += seg_offset_amt; |
| 3837 | 3837 | next_seg.inner.vmaddr += seg_offset_amt; |
| 3838 | 3838 | |
| 3839 | | log.warn(" (new {s} segment file offsets from 0x{x} to 0x{x} (in memory 0x{x} to 0x{x}))", .{ |
| 3839 | log.debug(" (new {s} segment file offsets from 0x{x} to 0x{x} (in memory 0x{x} to 0x{x}))", .{ |
| 3840 | 3840 | next_seg.inner.segname, |
| 3841 | 3841 | next_seg.inner.fileoff, |
| 3842 | 3842 | next_seg.inner.fileoff + next_seg.inner.filesize, |
| ... | ... | @@ -3848,7 +3848,7 @@ fn growSection(self: *MachO, match: MatchingSection, new_size: u32) !void { |
| 3848 | 3848 | moved_sect.offset += @intCast(u32, seg_offset_amt); |
| 3849 | 3849 | moved_sect.addr += seg_offset_amt; |
| 3850 | 3850 | |
| 3851 | | log.warn(" (new {s},{s} file offsets from 0x{x} to 0x{x} (in memory 0x{x} to 0x{x}))", .{ |
| 3851 | log.debug(" (new {s},{s} file offsets from 0x{x} to 0x{x} (in memory 0x{x} to 0x{x}))", .{ |
| 3852 | 3852 | commands.segmentName(moved_sect.*), |
| 3853 | 3853 | commands.sectionName(moved_sect.*), |
| 3854 | 3854 | moved_sect.offset, |
| ... | ... | @@ -3884,7 +3884,7 @@ fn growSection(self: *MachO, match: MatchingSection, new_size: u32) !void { |
| 3884 | 3884 | moved_sect.offset += @intCast(u32, offset_amt); |
| 3885 | 3885 | moved_sect.addr += offset_amt; |
| 3886 | 3886 | |
| 3887 | | log.warn(" (new {s},{s} file offsets from 0x{x} to 0x{x} (in memory 0x{x} to 0x{x}))", .{ |
| 3887 | log.debug(" (new {s},{s} file offsets from 0x{x} to 0x{x} (in memory 0x{x} to 0x{x}))", .{ |
| 3888 | 3888 | commands.segmentName(moved_sect.*), |
| 3889 | 3889 | commands.sectionName(moved_sect.*), |
| 3890 | 3890 | moved_sect.offset, |