Lines Matching defs:rel_hdr
3709 Elf_Internal_Shdr *rel_hdr,
3721 allocated = bfd_malloc (rel_hdr->sh_size);
3725 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0
3726 || (bfd_bread (allocated, rel_hdr->sh_size, abfd)
3727 != rel_hdr->sh_size))
3732 entsize = rel_hdr->sh_entsize;
3882 Elf_Internal_Shdr *rel_hdr;
3898 rel_hdr = d->rel.hdr;
3899 reloc_count = rel_hdr ? NUM_SHDR_ENTRIES (rel_hdr) : 0;
3904 BFD_ASSERT ((rel_hdr && asect->rel_filepos == rel_hdr->sh_offset)
3917 rel_hdr = &d->this_hdr;
3918 reloc_count = NUM_SHDR_ENTRIES (rel_hdr);
3932 if (rel_hdr != NULL
3934 rel_hdr, reloc_count,
3956 Elf_Internal_Shdr *rel_hdr;
4002 rel_hdr = _bfd_elf_single_rel_hdr (sec);
4006 if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rel))
4007 mips_elf64_write_rel (abfd, sec, rel_hdr, &count, data);
4008 else if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rela))
4009 mips_elf64_write_rela (abfd, sec, rel_hdr, &count, data);
4016 Elf_Internal_Shdr *rel_hdr,
4025 rel_hdr->sh_size = rel_hdr->sh_entsize * *count;
4026 rel_hdr->contents = bfd_alloc (abfd, rel_hdr->sh_size);
4027 if (rel_hdr->contents == NULL)
4033 ext_rel = (Elf64_Mips_External_Rel *) rel_hdr->contents;
4108 BFD_ASSERT (ext_rel - (Elf64_Mips_External_Rel *) rel_hdr->contents