Searched refs:reltab (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/mips/boot/tools/ |
H A D | relocs.c | 28 Elf_Rel *reltab; member 372 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs() 373 if (!sec->reltab) in read_relocs() 381 if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) != in read_relocs() 386 Elf_Rel *rel = &sec->reltab[j]; in read_relocs() 491 Elf_Rel *rel = &sec->reltab[j]; in walk_relocs()
|
/openbmc/linux/arch/x86/tools/ |
H A D | relocs.c | 43 Elf_Rel *reltab; member 566 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs() 567 if (!sec->reltab) { in read_relocs() 575 if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) in read_relocs() 581 Elf_Rel *rel = &sec->reltab[j]; in read_relocs() 670 rel = &sec->reltab[j]; in print_absolute_relocs() 761 Elf_Rel *rel = &sec->reltab[j]; in walk_relocs()
|
/openbmc/qemu/include/hw/ |
H A D | elf_ops.h.inc | 206 struct elf_shdr *reltab, *shdr_table = NULL; 223 reltab = glue(find_section, SZ)(shdr_table, ehdr->e_shnum, SHT_RELA); 224 if (!reltab) { 227 rels = load_at(fd, reltab->sh_offset, reltab->sh_size); 231 nrels = reltab->sh_size / sizeof(struct elf_rela);
|