Home
last modified time | relevance | path

Searched refs:sh_name (Results 1 – 19 of 19) sorted by relevance

/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-elf.c157 unsigned char sh_name[4]; /* Section name, index in string tbl */ member
172 unsigned char sh_name[4]; /* Section name, index in string tbl */ member
548 unsigned int sh_name; in simple_object_elf_find_sections() local
554 sh_name = ELF_FETCH_FIELD (type_functions, ei_class, Shdr, in simple_object_elf_find_sections()
555 shdr, sh_name, Elf_Word); in simple_object_elf_find_sections()
556 if (sh_name >= name_size) in simple_object_elf_find_sections()
564 name = (const char *) names + sh_name; in simple_object_elf_find_sections()
767 off_t offset, unsigned int sh_name, in simple_object_elf_write_shdr() argument
788 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_name, Elf_Word, sh_name); in simple_object_elf_write_shdr()
826 size_t sh_name; in simple_object_elf_write_to_file() local
[all …]
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_file.h515 unsigned int sh_name; in section_name() local
520 sh_name = shdr.get_sh_name(); in section_name()
535 if (sh_name >= shstr_size) in section_name()
537 shndx, sh_name); in section_name()
543 const void* p = ::memchr(data + sh_name, '\0', shstr_size - sh_name); in section_name()
548 size_t len = static_cast<const char*>(p) - (data + sh_name); in section_name()
550 return std::string(data + sh_name, len); in section_name()
Delfcpp_internal.h70 Elf_Word sh_name; member
Delfcpp.h1178 { return Convert<32, big_endian>::convert_host(this->p_->sh_name); }
1233 { this->p_->sh_name = Convert<32, big_endian>::convert_host(v); }
/toolchain/binutils/binutils-2.25/include/elf/
Dexternal.h113 unsigned char sh_name[4]; /* Section name, index in string tbl */ member
126 unsigned char sh_name[4]; /* Section name, index in string tbl */ member
Dinternal.h102 unsigned int sh_name; /* Section name, index in string tbl */ member
/toolchain/binutils/binutils-2.25/bfd/
Delf.c345 (shindex == shstrndx && strindex == hdr->sh_name in bfd_elf_string_from_elf_section()
347 : bfd_elf_string_from_elf_section (abfd, shstrndx, hdr->sh_name))); in bfd_elf_string_from_elf_section()
488 iname = elf_elfsections (abfd)[isym->st_shndx]->sh_name; in bfd_elf_sym_name()
832 idx->shdr->sh_name), in _bfd_elf_setup_sections()
1622 hdr->sh_name); in bfd_section_from_shdr()
2649 rel_hdr->sh_name = in _bfd_elf_init_reloc_shdr()
2652 if (rel_hdr->sh_name == (unsigned int) -1) in _bfd_elf_init_reloc_shdr()
2704 this_hdr->sh_name = (unsigned int) _bfd_elf_strtab_add (elf_shstrtab (abfd), in elf_fake_sections()
2706 if (this_hdr->sh_name == (unsigned int) -1) in elf_fake_sections()
3070 _bfd_elf_strtab_addref (elf_shstrtab (abfd), d->this_hdr.sh_name); in assign_section_numbers()
[all …]
Delfcode.h308 dst->sh_name = H_GET_32 (abfd, src->sh_name); in elf_swap_shdr_in()
334 H_PUT_32 (abfd, src->sh_name, dst->sh_name); in elf_swap_shdr_out()
1556 (long) hdr->sh_name, in elf_debug_section()
Delf32-or1k.c1629 unsigned int shnam = _bfd_elf_single_rel_hdr (sec)->sh_name; in or1k_elf_check_relocs()
Delf64-hppa.c406 _bfd_elf_single_rel_hdr(sec)->sh_name)); in get_reloc_section()
Delfnn-ia64.c2078 _bfd_elf_single_rel_hdr (sec)->sh_name)); in get_reloc_section()
Delf64-ia64-vms.c1840 _bfd_elf_single_rel_hdr (sec)->sh_name)); in get_reloc_section()
Delf64-alpha.c4224 _bfd_elf_single_rel_hdr (input_section)->sh_name)); in elf64_alpha_relocate_section()
Delf32-nds32.c4915 elf_section_data (input_section)->rela.hdr->sh_name); in nds32_elf_relocate_section()
6578 elf_section_data (sec)->rela.hdr->sh_name); in nds32_elf_check_relocs()
Delflink.c11121 if (symtab_shndx_hdr->sh_name != 0) in bfd_elf_final_link()
DChangeLog-00011164 use _bfd_elf_strtab_offset to finalize sh_name section header fields.
DChangeLog-02033287 * elf.c (elf_fake_sections): Use correct cast for sh_name.
/toolchain/binutils/binutils-2.25/gold/
Dobject.cc548 size_t sh_name = 0; in find_shdr() local
556 sh_name = shdr.get_sh_name(); in find_shdr()
568 const char *p = sh_name ? names + sh_name + len : names; in find_shdr()
573 sh_name = p - names; in find_shdr()
575 if (sh_name == 0) in find_shdr()
583 if (shdr.get_sh_name() == sh_name) in find_shdr()
588 if (sh_name == 0) in find_shdr()
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c280 : ((X)->sh_name >= string_table_length ? _("<corrupt>") \
281 : string_table + (X)->sh_name))
4640 internal->sh_name = BYTE_GET (shdrs[i].sh_name); in get_32bit_section_headers()
4698 internal->sh_name = BYTE_GET (shdrs[i].sh_name); in get_64bit_section_headers()
6137 printf ("%d", section->sh_name); in process_relocs()
6569 printf ("%d", unwsec->sh_name); in ia64_process_unwind()
6584 printf ("%d", unwsec->sh_name); in ia64_process_unwind()
8383 section.sh_name = string_table_length; in process_dynamic_section()