Searched refs:rela_hdr (Results 1 – 4 of 4) sorted by relevance
282 Elf_Internal_Shdr *rela_hdr; in elf64_sparc_write_relocs() local327 rela_hdr = &elf_section_data (sec)->rel_hdr; in elf64_sparc_write_relocs()329 rela_hdr->sh_size = rela_hdr->sh_entsize * count; in elf64_sparc_write_relocs()330 rela_hdr->contents = (PTR) bfd_alloc (abfd, rela_hdr->sh_size); in elf64_sparc_write_relocs()331 if (rela_hdr->contents == NULL) in elf64_sparc_write_relocs()338 if (rela_hdr->sh_type != SHT_RELA) in elf64_sparc_write_relocs()349 outbound_relocas = (Elf64_External_Rela *) rela_hdr->contents; in elf64_sparc_write_relocs()
921 Elf_Internal_Shdr *rela_hdr; in elf_write_relocs() local950 rela_hdr = &elf_section_data (sec)->rel_hdr; in elf_write_relocs()952 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()953 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in elf_write_relocs()954 if (rela_hdr->contents == NULL) in elf_write_relocs()961 if (rela_hdr->sh_type == SHT_RELA) in elf_write_relocs()966 else if (rela_hdr->sh_type == SHT_REL) in elf_write_relocs()986 dst_rela = rela_hdr->contents; in elf_write_relocs()
2818 Elf_Internal_Shdr *rela_hdr, in mips_elf64_write_rela() argument2827 rela_hdr->sh_size = rela_hdr->sh_entsize * *count; in mips_elf64_write_rela()2828 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in mips_elf64_write_rela()2829 if (rela_hdr->contents == NULL) in mips_elf64_write_rela()2835 ext_rela = (Elf64_Mips_External_Rela *) rela_hdr->contents; in mips_elf64_write_rela()2911 BFD_ASSERT (ext_rela - (Elf64_Mips_External_Rela *) rela_hdr->contents in mips_elf64_write_rela()
336 const ELFSectionHeaderInfo *rela_hdr,