Home
last modified time | relevance | path

Searched refs:old_relocs (Results 1 – 1 of 1) sorted by relevance

/linux/tools/objtool/
H A Delf.c1519 struct reloc *old_relocs, *old_relocs_end, *new_relocs; in elf_alloc_reloc() local
1569 old_relocs = rsec->relocs; in elf_alloc_reloc()
1576 if (!old_relocs) in elf_alloc_reloc()
1584 old_relocs_end = &old_relocs[nr_relocs_old]; in elf_alloc_reloc()
1592 if (reloc >= old_relocs && reloc < old_relocs_end) in elf_alloc_reloc()
1593 sym->relocs = &new_relocs[reloc - old_relocs]; in elf_alloc_reloc()
1601 if (next_reloc >= old_relocs && next_reloc < old_relocs_end) in elf_alloc_reloc()
1602 set_sym_next_reloc(reloc, &new_relocs[next_reloc - old_relocs]); in elf_alloc_reloc()
1608 memcpy(new_relocs, old_relocs, nr_relocs_old * sizeof(struct reloc)); in elf_alloc_reloc()
1611 struct reloc *old = &old_relocs[i]; in elf_alloc_reloc()
[all …]