| ... | ... | @@ -288,9 +288,6 @@ fn scanAtomRelocsArm64(zld: *Zld, atom_index: AtomIndex, relocs: []align(1) cons |
| 288 | 288 | .sym_index = sym_index, |
| 289 | 289 | .file = atom.file, |
| 290 | 290 | }; |
| 291 | | const sym = zld.getSymbol(sym_loc); |
| 292 | | |
| 293 | | if (sym.sect() and !sym.ext()) continue; |
| 294 | 291 | |
| 295 | 292 | const target = if (object.getGlobal(sym_index)) |global_index| |
| 296 | 293 | zld.globals.items[global_index] |
| ... | ... | @@ -337,9 +334,6 @@ fn scanAtomRelocsX86(zld: *Zld, atom_index: AtomIndex, relocs: []align(1) const |
| 337 | 334 | .sym_index = sym_index, |
| 338 | 335 | .file = atom.file, |
| 339 | 336 | }; |
| 340 | | const sym = zld.getSymbol(sym_loc); |
| 341 | | |
| 342 | | if (sym.sect() and !sym.ext()) continue; |
| 343 | 337 | |
| 344 | 338 | const target = if (object.getGlobal(sym_index)) |global_index| |
| 345 | 339 | zld.globals.items[global_index] |