Lines Matching refs:old_relocs
1519 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()
1619 free(old_relocs); in elf_alloc_reloc()