mirror of
https://github.com/rui314/mold.git
synced 2024-12-28 10:54:56 +03:00
temporary
This commit is contained in:
parent
b07288b7bd
commit
a5a086dc31
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user