Home
last modified time | relevance | path

Searched refs:rela_hdr (Results 1 – 3 of 3) sorted by relevance

/mirbsd/src/gnu/usr.bin/binutils/bfd/
Delf64-sparc.c282 Elf_Internal_Shdr *rela_hdr; in elf64_sparc_write_relocs() local
327 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()
Delfcode.h855 Elf_Internal_Shdr *rela_hdr; in elf_write_relocs() local
884 rela_hdr = &elf_section_data (sec)->rel_hdr; in elf_write_relocs()
886 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()
887 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in elf_write_relocs()
888 if (rela_hdr->contents == NULL) in elf_write_relocs()
895 if (rela_hdr->sh_type == SHT_RELA) in elf_write_relocs()
900 else if (rela_hdr->sh_type == SHT_REL) in elf_write_relocs()
920 dst_rela = rela_hdr->contents; in elf_write_relocs()
Delf64-mips.c2773 Elf_Internal_Shdr *rela_hdr, in mips_elf64_write_rela() argument
2782 rela_hdr->sh_size = rela_hdr->sh_entsize * *count; in mips_elf64_write_rela()
2783 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in mips_elf64_write_rela()
2784 if (rela_hdr->contents == NULL) in mips_elf64_write_rela()
2790 ext_rela = (Elf64_Mips_External_Rela *) rela_hdr->contents; in mips_elf64_write_rela()
2866 BFD_ASSERT (ext_rela - (Elf64_Mips_External_Rela *) rela_hdr->contents in mips_elf64_write_rela()