Lines Matching defs:sechdr
720 static const char *sech_name(struct elf_info *elf, Elf_Shdr *sechdr)
724 sechdr->sh_name;
809 Elf_Shdr *sechdr)
811 const char *sec = sech_name(elf, sechdr);
813 if (sechdr->sh_type == SHT_PROGBITS &&
814 !(sechdr->sh_flags & SHF_ALLOC) &&
1435 Elf_Shdr *sechdr, Elf_Rela *r)
1438 int section = shndx2secindex(sechdr->sh_info);
1444 static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r)
1447 unsigned int *location = reloc_location(elf, sechdr, r);
1463 static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r)
1476 sechdr->sh_offset +
1477 (r->r_offset - sechdr->sh_addr));
1485 static int addend_mips_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r)
1488 unsigned int *location = reloc_location(elf, sechdr, r);
1509 Elf_Shdr *sechdr)
1517 Elf_Rela *start = (void *)elf->hdr + sechdr->sh_offset;
1518 Elf_Rela *stop = (void *)start + sechdr->sh_size;
1520 fromsec = sech_name(elf, sechdr);
1553 Elf_Shdr *sechdr)
1561 Elf_Rel *start = (void *)elf->hdr + sechdr->sh_offset;
1562 Elf_Rel *stop = (void *)start + sechdr->sh_size;
1564 fromsec = sech_name(elf, sechdr);
1590 if (addend_386_rel(elf, sechdr, &r))
1594 if (addend_arm_rel(elf, sechdr, &r))
1598 if (addend_mips_rel(elf, sechdr, &r))