authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-10-20 09:31:09+02:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-10-22 07:59:23+02:00
log5edb8e0b8ff8ec16fc38af0c9653eee3d4534db0
treea05913db76d9e19c8702a62f2dc809c96b7010c4
parentbc1e714de6377173257f0b1f01a85b1d18a35a19

macho: relax SUBTRACTOR assumption it not being a defined global


1 files changed, 1 insertions(+), 1 deletions(-)

src/link/MachO/ZldAtom.zig+1-1
...@@ -778,7 +778,7 @@ fn resolveRelocsX86(...@@ -778,7 +778,7 @@ fn resolveRelocsX86(
778 .file = atom.file,778 .file = atom.file,
779 };779 };
780 const sym = zld.getSymbol(sym_loc);780 const sym = zld.getSymbol(sym_loc);
781 assert(sym.sect() and !sym.ext());781 assert(sym.sect());
782 subtractor = sym_loc;782 subtractor = sym_loc;
783 continue;783 continue;
784 },784 },