Searched refs:new_relocs (Results 1 – 1 of 1) sorted by relevance
1483 struct reloc *old_relocs, *old_relocs_end, *new_relocs; in elf_alloc_reloc() local1534 new_relocs = calloc(nr_alloc, sizeof(struct reloc)); in elf_alloc_reloc()1535 if (!new_relocs) { in elf_alloc_reloc()1557 sym->relocs = &new_relocs[reloc - old_relocs]; in elf_alloc_reloc()1566 set_sym_next_reloc(reloc, &new_relocs[next_reloc - old_relocs]); in elf_alloc_reloc()1572 memcpy(new_relocs, old_relocs, nr_relocs_old * sizeof(struct reloc)); in elf_alloc_reloc()1576 struct reloc *new = &new_relocs[i]; in elf_alloc_reloc()1585 rsec->relocs = new_relocs; in elf_alloc_reloc()