macho: relax SUBTRACTOR assumption it not being a defined global

This commit is contained in:
Jakub Konka 2022-10-20 09:31:09 +02:00
parent bc1e714de6
commit 5edb8e0b8f

View File

@ -778,7 +778,7 @@ fn resolveRelocsX86(
.file = atom.file,
};
const sym = zld.getSymbol(sym_loc);
assert(sym.sect() and !sym.ext());
assert(sym.sect());
subtractor = sym_loc;
continue;
},