Home
last modified time | relevance | path

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

12

/dragonfly/contrib/binutils-2.27/libiberty/
H A Dsimple-object-elf.c548 unsigned int sh_name; in simple_object_elf_find_sections() local
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
871 sh_name = 1; in simple_object_elf_write_to_file()
909 sh_name, SHT_PROGBITS, 0, sh_offset, in simple_object_elf_write_to_file()
915 sh_name += strlen (section->name) + 1; in simple_object_elf_write_to_file()
[all …]
/dragonfly/contrib/gdb-7/libiberty/
H A Dsimple-object-elf.c548 unsigned int sh_name; in simple_object_elf_find_sections() local
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()
758 off_t offset, unsigned int sh_name, in simple_object_elf_write_shdr() argument
779 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_name, Elf_Word, sh_name); in simple_object_elf_write_shdr()
815 size_t sh_name; in simple_object_elf_write_to_file() local
851 sh_name = 1; in simple_object_elf_write_to_file()
889 sh_name, SHT_PROGBITS, 0, sh_offset, in simple_object_elf_write_to_file()
895 sh_name += strlen (section->name) + 1; in simple_object_elf_write_to_file()
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dsimple-object-elf.c548 unsigned int sh_name; in simple_object_elf_find_sections() local
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()
758 off_t offset, unsigned int sh_name, in simple_object_elf_write_shdr() argument
779 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_name, Elf_Word, sh_name); in simple_object_elf_write_shdr()
815 size_t sh_name; in simple_object_elf_write_to_file() local
851 sh_name = 1; in simple_object_elf_write_to_file()
889 sh_name, SHT_PROGBITS, 0, sh_offset, in simple_object_elf_write_to_file()
895 sh_name += strlen (section->name) + 1; in simple_object_elf_write_to_file()
[all …]
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dsimple-object-elf.c626 unsigned int sh_name; in simple_object_elf_find_sections() local
633 shdr, sh_name, Elf_Word); in simple_object_elf_find_sections()
634 if (sh_name >= name_size) in simple_object_elf_find_sections()
870 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_name, Elf_Word, sh_name); in simple_object_elf_write_shdr()
910 size_t sh_name; in simple_object_elf_write_to_file() local
956 sh_name = 1; in simple_object_elf_write_to_file()
1027 sh_name, sh_type, sh_flags, in simple_object_elf_write_to_file()
1168 shdr, sh_name, Elf_Word); in simple_object_elf_copy_lto_debug_sections()
1169 if (sh_name >= name_size) in simple_object_elf_copy_lto_debug_sections()
1320 shdr, sh_name, Elf_Word); in simple_object_elf_copy_lto_debug_sections()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dsimple-object-elf.c618 unsigned int sh_name; in simple_object_elf_find_sections() local
625 shdr, sh_name, Elf_Word); in simple_object_elf_find_sections()
626 if (sh_name >= name_size) in simple_object_elf_find_sections()
862 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_name, Elf_Word, sh_name); in simple_object_elf_write_shdr()
902 size_t sh_name; in simple_object_elf_write_to_file() local
948 sh_name = 1; in simple_object_elf_write_to_file()
1019 sh_name, sh_type, sh_flags, in simple_object_elf_write_to_file()
1160 shdr, sh_name, Elf_Word); in simple_object_elf_copy_lto_debug_sections()
1161 if (sh_name >= name_size) in simple_object_elf_copy_lto_debug_sections()
1312 shdr, sh_name, Elf_Word); in simple_object_elf_copy_lto_debug_sections()
[all …]
/dragonfly/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c71 d->sh_name = sh32->sh_name; in gelf_getshdr()
118 sh32->sh_name = s->sh_name; in gelf_update_shdr()
H A Delf_types.m4196 ``sh_name, WORD',
209 ``sh_name, WORD',
/dragonfly/contrib/binutils-2.34/elfcpp/
H A 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()
H A Delfcpp_internal.h70 Elf_Word sh_name; member
/dragonfly/contrib/binutils-2.27/elfcpp/
H A 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()
H A Delfcpp_internal.h70 Elf_Word sh_name; member
/dragonfly/contrib/gdb-7/include/elf/
H A Dexternal.h114 unsigned char sh_name[4]; /* Section name, index in string tbl */ member
127 unsigned char sh_name[4]; /* Section name, index in string tbl */ member
H A Dinternal.h103 unsigned int sh_name; /* Section name, index in string tbl */ member
/dragonfly/contrib/binutils-2.27/include/elf/
H A 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
/dragonfly/contrib/binutils-2.34/include/elf/
H A 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
/dragonfly/contrib/nvi2/ex/
H A Dscript.h16 char sh_name[64]; /* Pty name */ member
/dragonfly/contrib/file/src/
H A Dreadelf.h207 Elf32_Word sh_name; member
220 Elf64_Word sh_name; member
/dragonfly/contrib/binutils-2.34/gold/
H A Dobject.cc595 size_t sh_name = 0; in find_shdr() local
603 sh_name = shdr.get_sh_name(); in find_shdr()
615 const char *p = sh_name ? names + sh_name + len : names; in find_shdr()
620 sh_name = p - names; in find_shdr()
622 if (sh_name == 0) in find_shdr()
630 if (shdr.get_sh_name() == sh_name) in find_shdr()
635 if (sh_name == 0) in find_shdr()
1606 const unsigned int sh_name = shdr.get_sh_name(); in do_layout() local
1609 if (sh_name >= section_names_size) in do_layout()
1612 i, static_cast<unsigned long>(sh_name)); in do_layout()
[all …]
/dragonfly/sys/sys/
H A Delf32.h77 Elf32_Word sh_name; /* Section name (index into the member
H A Delf64.h92 Elf64_Word sh_name; /* Section name (index into the member
/dragonfly/contrib/binutils-2.27/bfd/
H A Delf.c883 idx->shdr->sh_name), in _bfd_elf_setup_sections()
1949 hdr->sh_name); in bfd_section_from_shdr()
2999 rel_hdr->sh_name = in _bfd_elf_set_reloc_sh_name()
3028 rel_hdr->sh_name = (unsigned int) -1; in _bfd_elf_init_reloc_shdr()
3142 this_hdr->sh_name in elf_fake_sections()
3619 entry->hdr.sh_name in assign_section_numbers()
5929 elf_tdata (abfd)->symtab_hdr.sh_name = in prep_headers()
5931 elf_tdata (abfd)->strtab_hdr.sh_name = in prep_headers()
5994 shdrp->sh_name in _bfd_elf_assign_file_positions_for_non_load()
6068 i_shdrp[count]->sh_name in _bfd_elf_write_object_contents()
[all …]
/dragonfly/contrib/binutils-2.34/bfd/
H A Delf.c958 idx->shdr->sh_name), in _bfd_elf_setup_sections()
2088 hdr->sh_name); in bfd_section_from_shdr()
3145 rel_hdr->sh_name = in _bfd_elf_set_reloc_sh_name()
3174 rel_hdr->sh_name = (unsigned int) -1; in _bfd_elf_init_reloc_shdr()
3288 this_hdr->sh_name in elf_fake_sections()
3804 entry->hdr.sh_name in assign_section_numbers()
6456 elf_tdata (abfd)->symtab_hdr.sh_name = in _bfd_elf_init_file_header()
6458 elf_tdata (abfd)->strtab_hdr.sh_name = in _bfd_elf_init_file_header()
6555 shdrp->sh_name in _bfd_elf_assign_file_positions_for_non_load()
6648 i_shdrp[count]->sh_name in _bfd_elf_write_object_contents()
[all …]
/dragonfly/contrib/gdb-7/bfd/
H A Delf.c806 idx->shdr->sh_name), in _bfd_elf_setup_sections()
1558 hdr->sh_name); in bfd_section_from_shdr()
2545 rel_hdr->sh_name = in _bfd_elf_init_reloc_shdr()
2548 if (rel_hdr->sh_name == (unsigned int) -1) in _bfd_elf_init_reloc_shdr()
2602 if (this_hdr->sh_name == (unsigned int) -1) in elf_fake_sections()
2999 t->symtab_shndx_hdr.sh_name in assign_section_numbers()
3241 i_shdrp[secn]->sh_name); in assign_section_numbers()
5248 elf_tdata (abfd)->symtab_hdr.sh_name = in prep_headers()
5250 elf_tdata (abfd)->strtab_hdr.sh_name = in prep_headers()
5252 elf_tdata (abfd)->shstrtab_hdr.sh_name = in prep_headers()
[all …]
/dragonfly/stand/boot/common/
H A Dload_elf_obj.c418 if (shdr[i].sh_name == 0) in __elfN()
420 p = strdupout(shstrtab + shdr[i].sh_name); in __elfN()
/dragonfly/contrib/binutils-2.27/gold/
H A Dobject.cc596 size_t sh_name = 0; in find_shdr() local
604 sh_name = shdr.get_sh_name(); in find_shdr()
616 const char *p = sh_name ? names + sh_name + len : names; in find_shdr()
621 sh_name = p - names; in find_shdr()
623 if (sh_name == 0) in find_shdr()
631 if (shdr.get_sh_name() == sh_name) in find_shdr()
636 if (sh_name == 0) in find_shdr()

12