From 9f0cb763a4b78d386291bdd912cc5c85c5752b3a Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 20 Jan 2023 13:10:20 +0100 Subject: [PATCH] macho: disable some log messages --- src/link/MachO.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/link/MachO.zig b/src/link/MachO.zig index 8b9775afa1..e6924a6717 100644 --- a/src/link/MachO.zig +++ b/src/link/MachO.zig @@ -1388,7 +1388,7 @@ pub fn createLazyPointerAtom(self: *MachO, stub_sym_index: u32, target: SymbolWi try self.atom_by_index_table.putNoClobber(gpa, sym_index, atom); sym.n_value = try self.allocateAtom(atom, atom.size, @alignOf(u64)); - log.warn("allocated lazy pointer atom at 0x{x} ({s})", .{ sym.n_value, self.getSymbolName(target) }); + log.debug("allocated lazy pointer atom at 0x{x} ({s})", .{ sym.n_value, self.getSymbolName(target) }); try self.writePtrWidthAtom(atom); return atom; @@ -3402,7 +3402,7 @@ fn populateLazyBindOffsetsInStubHelper(self: *MachO, lazy_bind: LazyBind) !void const file_offset = header.offset + sym.n_value - header.addr + stub_offset; const bind_offset = lazy_bind.offsets.items[index - 1]; - log.warn("writing lazy bind offset 0x{x} ({s}) in stub helper at 0x{x}", .{ + log.debug("writing lazy bind offset 0x{x} ({s}) in stub helper at 0x{x}", .{ bind_offset, self.getSymbolName(lazy_bind.entries.items[index - 1].target), file_offset,