| ... | ... | @@ -498,8 +498,9 @@ fn resolveRelocsArm64( |
| 498 | 498 | atom.file, |
| 499 | 499 | }); |
| 500 | 500 | |
| 501 | const sym_index = reverse_lookup[rel.r_symbolnum]; |
| 501 | 502 | const sym_loc = SymbolWithLoc{ |
| 502 | | .sym_index = rel.r_symbolnum, |
| 503 | .sym_index = sym_index, |
| 503 | 504 | .file = atom.file, |
| 504 | 505 | }; |
| 505 | 506 | const sym = zld.getSymbol(sym_loc); |
| ... | ... | @@ -783,8 +784,9 @@ fn resolveRelocsX86( |
| 783 | 784 | atom.file, |
| 784 | 785 | }); |
| 785 | 786 | |
| 787 | const sym_index = reverse_lookup[rel.r_symbolnum]; |
| 786 | 788 | const sym_loc = SymbolWithLoc{ |
| 787 | | .sym_index = rel.r_symbolnum, |
| 789 | .sym_index = sym_index, |
| 788 | 790 | .file = atom.file, |
| 789 | 791 | }; |
| 790 | 792 | const sym = zld.getSymbol(sym_loc); |