Home
last modified time | relevance | path

Searched refs:e_shstrndx (Results 1 – 23 of 23) sorted by relevance

/toolchain/binutils/binutils-2.25/include/elf/
Dexternal.h66 unsigned char e_shstrndx[2]; /* Section header string table index */ member
83 unsigned char e_shstrndx[2]; /* Section header string table index */ member
Dinternal.h81 unsigned int e_shstrndx; /* Section header string table index */ member
/toolchain/binutils/binutils-2.25/bfd/
Delfcode.h256 dst->e_shstrndx = H_GET_16 (abfd, src->e_shstrndx); in elf_swap_ehdr_in()
292 tmp = src->e_shstrndx; in elf_swap_ehdr_out()
295 H_PUT_16 (abfd, tmp, dst->e_shstrndx); in elf_swap_ehdr_out()
635 if (i_ehdrp->e_shstrndx == (SHN_XINDEX & 0xffff)) in elf_object_p()
637 i_ehdrp->e_shstrndx = i_shdr.sh_link; in elf_object_p()
638 if (i_ehdrp->e_shstrndx != i_shdr.sh_link) in elf_object_p()
751 if (i_ehdrp->e_shstrndx >= elf_numsections (abfd)) in elf_object_p()
759 i_ehdrp->e_shstrndx = SHN_UNDEF; in elf_object_p()
763 else if (i_ehdrp->e_shstrndx != SHN_UNDEF) in elf_object_p()
791 if (i_ehdrp->e_shstrndx != 0 && i_ehdrp->e_shoff != 0) in elf_object_p()
[all …]
Delf.c341 unsigned int shstrndx = elf_elfheader(abfd)->e_shstrndx; in bfd_elf_string_from_elf_section()
489 shindex = elf_elfheader (abfd)->e_shstrndx; in bfd_elf_sym_name()
831 ->e_shstrndx), in _bfd_elf_setup_sections()
1621 name = bfd_elf_string_from_elf_section (abfd, ehdr->e_shstrndx, in bfd_section_from_shdr()
1805 if (ehdr->e_shstrndx == shindex) in bfd_section_from_shdr()
3090 elf_elfheader (abfd)->e_shstrndx = elf_shstrtab_sec (abfd); in assign_section_numbers()
Delf32-or1k.c1628 unsigned int strndx = elf_elfheader (abfd)->e_shstrndx; in or1k_elf_check_relocs()
Delf64-hppa.c405 (abfd, elf_elfheader(abfd)->e_shstrndx, in get_reloc_section()
Delfnn-ia64.c2077 (abfd, elf_elfheader(abfd)->e_shstrndx, in get_reloc_section()
Delf64-ia64-vms.c1839 (abfd, elf_elfheader(abfd)->e_shstrndx, in get_reloc_section()
Delf64-alpha.c4223 (input_bfd, elf_elfheader(input_bfd)->e_shstrndx, in elf64_alpha_relocate_section()
Delf32-nds32.c4914 (input_bfd, elf_elfheader (input_bfd)->e_shstrndx, in nds32_elf_relocate_section()
6577 (abfd, elf_elfheader (abfd)->e_shstrndx, in nds32_elf_check_relocs()
DChangeLog-0001544 and e_shstrndx if out of range.
545 (elf_object_p): Read extended values for e_shnum and e_shstrndx
2005 non-ET_REL files. Honor 0 for e_shnum, e_shstrndx, e_shoff.
DChangeLog-20062419 * elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx
DChangeLog-20082638 Simplify test for valid sh_link, sh_info and e_shstrndx fields.
DChangeLog-20052362 Sanity check sh_link and sh_info fields. Fix e_shstrndx sanity check.
DChangeLog-02038072 Don't consider e_shstrndx if there are no sections.
DChangeLog-94954822 not rawdata. Don't set rawdata if e_shstrndx. Use bfd_section
/toolchain/binutils/binutils-2.25/binutils/
Delfedit.c214 elf_header.e_shstrndx = BYTE_GET (ehdr32.e_shstrndx); in get_file_header()
247 elf_header.e_shstrndx = BYTE_GET (ehdr64.e_shstrndx); in get_file_header()
Dreadelf.c4165 (long) elf_header.e_shstrndx); in process_file_header()
4167 && elf_header.e_shstrndx == (SHN_XINDEX & 0xffff)) in process_file_header()
4169 else if (elf_header.e_shstrndx != SHN_UNDEF in process_file_header()
4170 && elf_header.e_shstrndx >= elf_header.e_shnum) in process_file_header()
4182 if (elf_header.e_shstrndx == (SHN_XINDEX & 0xffff)) in process_file_header()
4183 elf_header.e_shstrndx = section_headers[0].sh_link; in process_file_header()
4184 else if (elf_header.e_shstrndx >= elf_header.e_shnum) in process_file_header()
4185 elf_header.e_shstrndx = SHN_UNDEF; in process_file_header()
5153 if (elf_header.e_shstrndx != SHN_UNDEF in process_section_headers()
5154 && elf_header.e_shstrndx < elf_header.e_shnum) in process_section_headers()
[all …]
DChangeLog-2006383 (process_file_header): Cope with a corrupt e_shstrndx field.
384 (process_section_headers): Correctly handle an e_shstrndx value of
DChangeLog-2005592 (process_section_headers): Don't crash if e_shstrndx is invalid.
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-elf.c63 unsigned char e_shstrndx[2]; /* Section header string table index */ member
82 unsigned char e_shstrndx[2]; /* Section header string table index */ member
429 e_shstrndx, Elf_Half); in simple_object_elf_match()
757 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shstrndx, Elf_Half, shstrndx); in simple_object_elf_write_ehdr()
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_internal.h62 Elf_Half e_shstrndx; member
Delfcpp.h1084 { return Convert<16, big_endian>::convert_host(this->p_->e_shstrndx); }
1154 { this->p_->e_shstrndx = Convert<16, big_endian>::convert_host(v); }