Home
last modified time | relevance | path

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

/openbsd/src/gnu/usr.bin/binutils-2.17/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.h888 Elf_Internal_Shdr *rela_hdr; in elf_write_relocs() local
917 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()
Delf64-mips.c2795 Elf_Internal_Shdr *rela_hdr, in mips_elf64_write_rela() argument
2804 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()
/openbsd/src/gnu/usr.bin/binutils/bfd/
Delfcode.h812 Elf_Internal_Shdr *rela_hdr; in elf_write_relocs() local
835 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()
Delf64-mips.c2412 Elf_Internal_Shdr *rela_hdr, in mips_elf64_write_rela() argument
2421 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()
Delf64-sparc.c594 Elf_Internal_Shdr *rela_hdr; local
638 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;
/openbsd/src/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.h306 const ELFSectionHeaderInfo *rela_hdr,