Lines Matching defs:rel_hdr
2417 Elf_Internal_Shdr *rel_hdr,
2429 allocated = bfd_malloc (rel_hdr->sh_size);
2433 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
2434 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
2435 != rel_hdr->sh_size))
2440 entsize = rel_hdr->sh_entsize;
2590 Elf_Internal_Shdr *rel_hdr;
2606 rel_hdr = &d->rel_hdr;
2607 reloc_count = NUM_SHDR_ENTRIES (rel_hdr);
2612 BFD_ASSERT (asect->rel_filepos == rel_hdr->sh_offset
2625 rel_hdr = &d->this_hdr;
2626 reloc_count = NUM_SHDR_ENTRIES (rel_hdr);
2641 rel_hdr, reloc_count,
2665 Elf_Internal_Shdr *rel_hdr;
2711 rel_hdr = &elf_section_data (sec)->rel_hdr;
2715 if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rel))
2716 mips_elf64_write_rel (abfd, sec, rel_hdr, &count, data);
2717 else if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rela))
2718 mips_elf64_write_rela (abfd, sec, rel_hdr, &count, data);
2725 Elf_Internal_Shdr *rel_hdr,
2734 rel_hdr->sh_size = rel_hdr->sh_entsize * *count;
2735 rel_hdr->contents = bfd_alloc (abfd, rel_hdr->sh_size);
2736 if (rel_hdr->contents == NULL)
2742 ext_rel = (Elf64_Mips_External_Rel *) rel_hdr->contents;
2817 BFD_ASSERT (ext_rel - (Elf64_Mips_External_Rel *) rel_hdr->contents