Searched refs:rela_hdr (Results 1 – 7 of 7) 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()
888 Elf_Internal_Shdr *rela_hdr; in elf_write_relocs() local917 rela_hdr = &elf_section_data (sec)->rel_hdr; in elf_write_relocs()919 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()920 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in elf_write_relocs()921 if (rela_hdr->contents == NULL) in elf_write_relocs()928 if (rela_hdr->sh_type == SHT_RELA) in elf_write_relocs()933 else if (rela_hdr->sh_type == SHT_REL) in elf_write_relocs()953 dst_rela = rela_hdr->contents; in elf_write_relocs()
2795 Elf_Internal_Shdr *rela_hdr, in mips_elf64_write_rela() argument2804 rela_hdr->sh_size = rela_hdr->sh_entsize * *count; in mips_elf64_write_rela()2805 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in mips_elf64_write_rela()2806 if (rela_hdr->contents == NULL) in mips_elf64_write_rela()2812 ext_rela = (Elf64_Mips_External_Rela *) rela_hdr->contents; in mips_elf64_write_rela()2888 BFD_ASSERT (ext_rela - (Elf64_Mips_External_Rela *) rela_hdr->contents in mips_elf64_write_rela()
812 Elf_Internal_Shdr *rela_hdr; in elf_write_relocs() local835 rela_hdr = &elf_section_data (sec)->rel_hdr; in elf_write_relocs()837 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()838 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in elf_write_relocs()839 if (rela_hdr->contents == NULL) in elf_write_relocs()846 if (rela_hdr->sh_type == SHT_RELA) in elf_write_relocs()851 else if (rela_hdr->sh_type == SHT_REL) in elf_write_relocs()871 dst_rela = rela_hdr->contents; in elf_write_relocs()
2412 Elf_Internal_Shdr *rela_hdr, in mips_elf64_write_rela() argument2421 rela_hdr->sh_size = rela_hdr->sh_entsize * *count; in mips_elf64_write_rela()2422 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in mips_elf64_write_rela()2423 if (rela_hdr->contents == NULL) in mips_elf64_write_rela()2429 ext_rela = (Elf64_Mips_External_Rela *) rela_hdr->contents; in mips_elf64_write_rela()2503 BFD_ASSERT (ext_rela - (Elf64_Mips_External_Rela *) rela_hdr->contents in mips_elf64_write_rela()
594 Elf_Internal_Shdr *rela_hdr; local638 rela_hdr = &elf_section_data (sec)->rel_hdr;640 rela_hdr->sh_size = rela_hdr->sh_entsize * count;641 rela_hdr->contents = (PTR) bfd_alloc (abfd, rela_hdr->sh_size);642 if (rela_hdr->contents == NULL)649 if (rela_hdr->sh_type != SHT_RELA)653 outbound_relocas = (Elf64_External_Rela *) rela_hdr->contents;
306 const ELFSectionHeaderInfo *rela_hdr,