1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-28 10:54:56 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-29 23:00:18 +09:00
parent b07288b7bd
commit a5a086dc31

View File

@ -61,7 +61,6 @@ std::tuple<u64, u64> InputSection::scan_relocations() {
} }
void InputSection::relocate(u8 *buf) { void InputSection::relocate(u8 *buf) {
int i = 0;
for (const ELF64LE::Rela &rel : rels) { for (const ELF64LE::Rela &rel : rels) {
u32 sym_idx = rel.getSymbol(false); u32 sym_idx = rel.getSymbol(false);
Symbol *sym = file->get_symbol(sym_idx); Symbol *sym = file->get_symbol(sym_idx);