Searched refs:new_relocs (Results 1 – 1 of 1) sorted by relevance
1519 struct reloc *old_relocs, *old_relocs_end, *new_relocs; in elf_alloc_reloc() local1570 new_relocs = calloc(nr_alloc, sizeof(struct reloc)); in elf_alloc_reloc()1571 if (!new_relocs) { in elf_alloc_reloc()1593 sym->relocs = &new_relocs[reloc - old_relocs]; 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()1612 struct reloc *new = &new_relocs[i]; in elf_alloc_reloc()1621 rsec->relocs = new_relocs; in elf_alloc_reloc()