/netbsd-current/external/gpl3/gcc/dist/libbacktrace/ |
H A D | elf.c | 4126 const b_elf_shdr *shdr; local 4129 sizeof shdr, error_callback, data, &shdr_view)) 4132 shdr = (const b_elf_shdr *) shdr_view.view.data; 4135 shnum = shdr->sh_size; 4139 shstrndx = shdr->sh_link; 4196 const b_elf_shdr *shdr; local 4201 shdr = &shdrs[i - 1]; 4203 if (shdr->sh_type == SHT_SYMTAB) 4205 else if (shdr->sh_type == SHT_DYNSYM) 4208 sh_name = shdr [all...] |
/netbsd-current/external/gpl3/gdb/dist/libbacktrace/ |
H A D | elf.c | 4126 const b_elf_shdr *shdr; local 4129 sizeof shdr, error_callback, data, &shdr_view)) 4132 shdr = (const b_elf_shdr *) shdr_view.view.data; 4135 shnum = shdr->sh_size; 4139 shstrndx = shdr->sh_link; 4196 const b_elf_shdr *shdr; local 4201 shdr = &shdrs[i - 1]; 4203 if (shdr->sh_type == SHT_SYMTAB) 4205 else if (shdr->sh_type == SHT_DYNSYM) 4208 sh_name = shdr [all...] |
/netbsd-current/external/cddl/osnet/dist/tools/ctf/dump/ |
H A D | dump.c | 790 GElf_Shdr shdr; local 795 if (gelf_getshdr(scn, &shdr) != NULL && (name = 796 elf_strptr(elf, ehdr->e_shstrndx, shdr.sh_name)) != NULL && 900 GElf_Shdr shdr; local 903 if (gelf_getshdr(symscn, &shdr) != NULL) { 904 symstrscn = elf_getscn(elf, shdr.sh_link); 906 cd.cd_nsyms = shdr.sh_size / shdr.sh_entsize;
|
/netbsd-current/bin/ksh/ |
H A D | history.c | 904 shdr, /* expecting a header */ enumerator in enum:state 915 State state = shdr; 921 case shdr: 935 lines++, state = shdr; 1038 for (state = shdr; bytes-- > 0; base++) { 1040 case shdr: 1072 state = shdr;
|
/netbsd-current/external/gpl3/binutils.old/dist/gold/ |
H A D | dwp.cc | 2190 elfcpp::Shdr_write<size, big_endian> shdr(buf); 2192 shdr.put_sh_name(name == NULL ? 0 : this->shstrtab_.get_offset(name)); 2193 shdr.put_sh_type(type); 2194 shdr.put_sh_flags(flags); 2195 shdr.put_sh_addr(addr); 2196 shdr.put_sh_offset(offset); 2197 shdr.put_sh_size(sect_size); 2198 shdr.put_sh_link(link); 2199 shdr.put_sh_info(info); 2200 shdr [all...] |
H A D | arm.cc | 1733 const elfcpp::Shdr<32, big_endian>& shdr, 6202 const elfcpp::Shdr<32, big_endian>& shdr, 6209 if (shdr.get_sh_size() == 0 6210 || (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0 6211 || shdr.get_sh_type() != elfcpp::SHT_PROGBITS) 6238 const elfcpp::Shdr<32, big_endian>& shdr, 6243 unsigned int sh_type = shdr.get_sh_type(); 6248 off_t sh_size = shdr.get_sh_size(); 6254 if (this->adjust_shndx(shdr.get_sh_link()) != this->symtab_shndx()) 6265 if (reloc_size != shdr [all...] |
H A D | layout.h | 544 const char* name, const elfcpp::Shdr<size, big_endian>& shdr, 631 const elfcpp::Shdr<size, big_endian>& shdr, 643 const elfcpp::Shdr<size, big_endian>& shdr, 664 const elfcpp::Shdr<size, big_endian>& shdr,
|
H A D | powerpc.cc | 2338 typename elfcpp::Shdr<size, big_endian> shdr(s); 2339 this->toc_ = this->adjust_shndx(shdr.get_sh_info()); 2541 typename elfcpp::Shdr<size, big_endian> shdr(psymtab); 2542 const unsigned char* psyms = this->get_view(shdr.get_sh_offset(), 2568 elfcpp::Shdr<size, big_endian> shdr(ps); 2569 switch (shdr.get_sh_type()) 2574 section_offset_type section_offset = shdr.get_sh_offset(); 2576 convert_to_section_size_type(shdr.get_sh_size()); 2592 if (shdr.get_sh_size() > sym_size) 2648 elfcpp::Shdr<size, big_endian> shdr(p [all...] |
H A D | incremental.cc | 550 Shdr shdr(pshdr); 552 if (!shstrtab.get_c_string(shdr.get_sh_name(), &name)) 557 static_cast<long>(shdr.get_sh_addr()), 558 static_cast<long>(shdr.get_sh_offset()), 559 static_cast<long>(shdr.get_sh_size()), 560 shdr.get_sh_type(), name ? name : "<null>"); 561 this->section_map_[i] = layout->init_fixed_output_section(name, shdr);
|
/netbsd-current/external/gpl3/binutils/dist/gold/ |
H A D | dwp.cc | 2190 elfcpp::Shdr_write<size, big_endian> shdr(buf); 2192 shdr.put_sh_name(name == NULL ? 0 : this->shstrtab_.get_offset(name)); 2193 shdr.put_sh_type(type); 2194 shdr.put_sh_flags(flags); 2195 shdr.put_sh_addr(addr); 2196 shdr.put_sh_offset(offset); 2197 shdr.put_sh_size(sect_size); 2198 shdr.put_sh_link(link); 2199 shdr.put_sh_info(info); 2200 shdr [all...] |
H A D | arm.cc | 1733 const elfcpp::Shdr<32, big_endian>& shdr, 6202 const elfcpp::Shdr<32, big_endian>& shdr, 6209 if (shdr.get_sh_size() == 0 6210 || (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0 6211 || shdr.get_sh_type() != elfcpp::SHT_PROGBITS) 6238 const elfcpp::Shdr<32, big_endian>& shdr, 6243 unsigned int sh_type = shdr.get_sh_type(); 6248 off_t sh_size = shdr.get_sh_size(); 6254 if (this->adjust_shndx(shdr.get_sh_link()) != this->symtab_shndx()) 6265 if (reloc_size != shdr [all...] |
H A D | layout.h | 544 const char* name, const elfcpp::Shdr<size, big_endian>& shdr, 631 const elfcpp::Shdr<size, big_endian>& shdr, 643 const elfcpp::Shdr<size, big_endian>& shdr, 664 const elfcpp::Shdr<size, big_endian>& shdr,
|
H A D | incremental.cc | 550 Shdr shdr(pshdr); 552 if (!shstrtab.get_c_string(shdr.get_sh_name(), &name)) 557 static_cast<long>(shdr.get_sh_addr()), 558 static_cast<long>(shdr.get_sh_offset()), 559 static_cast<long>(shdr.get_sh_size()), 560 shdr.get_sh_type(), name ? name : "<null>"); 561 this->section_map_[i] = layout->init_fixed_output_section(name, shdr);
|
/netbsd-current/external/gpl3/gdb.old/dist/gold/ |
H A D | dwp.cc | 2190 elfcpp::Shdr_write<size, big_endian> shdr(buf); 2192 shdr.put_sh_name(name == NULL ? 0 : this->shstrtab_.get_offset(name)); 2193 shdr.put_sh_type(type); 2194 shdr.put_sh_flags(flags); 2195 shdr.put_sh_addr(addr); 2196 shdr.put_sh_offset(offset); 2197 shdr.put_sh_size(sect_size); 2198 shdr.put_sh_link(link); 2199 shdr.put_sh_info(info); 2200 shdr [all...] |
H A D | arm.cc | 1733 const elfcpp::Shdr<32, big_endian>& shdr, 6202 const elfcpp::Shdr<32, big_endian>& shdr, 6209 if (shdr.get_sh_size() == 0 6210 || (shdr.get_sh_flags() & elfcpp::SHF_ALLOC) == 0 6211 || shdr.get_sh_type() != elfcpp::SHT_PROGBITS) 6238 const elfcpp::Shdr<32, big_endian>& shdr, 6243 unsigned int sh_type = shdr.get_sh_type(); 6248 off_t sh_size = shdr.get_sh_size(); 6254 if (this->adjust_shndx(shdr.get_sh_link()) != this->symtab_shndx()) 6265 if (reloc_size != shdr [all...] |
H A D | layout.h | 539 const char* name, const elfcpp::Shdr<size, big_endian>& shdr, 626 const elfcpp::Shdr<size, big_endian>& shdr, 638 const elfcpp::Shdr<size, big_endian>& shdr, 659 const elfcpp::Shdr<size, big_endian>& shdr,
|
H A D | incremental.cc | 550 Shdr shdr(pshdr); 552 if (!shstrtab.get_c_string(shdr.get_sh_name(), &name)) 557 static_cast<long>(shdr.get_sh_addr()), 558 static_cast<long>(shdr.get_sh_offset()), 559 static_cast<long>(shdr.get_sh_size()), 560 shdr.get_sh_type(), name ? name : "<null>"); 561 this->section_map_[i] = layout->init_fixed_output_section(name, shdr);
|
/netbsd-current/external/gpl3/binutils.old/dist/bfd/ |
H A D | elf.c | 564 Elf_Internal_Shdr *shdr; 615 #define IS_VALID_GROUP_SECTION_HEADER(shdr, minsize) \ 616 ( (shdr)->sh_type == SHT_GROUP \ 617 && (shdr)->sh_size >= minsize \ local 618 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ 619 && ((shdr)->sh_size % GRP_ENTRY_SIZE) == 0) 623 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; 625 if (IS_VALID_GROUP_SECTION_HEADER (shdr, 2 * GRP_ENTRY_SIZE)) 651 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; 653 if (IS_VALID_GROUP_SECTION_HEADER (shdr, 558 Elf_Internal_Shdr *shdr; member in union:elf_internal_group 646 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 772 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local 921 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/bfd/ |
H A D | elf.c | 561 Elf_Internal_Shdr *shdr; member in union:elf_internal_group 612 #define IS_VALID_GROUP_SECTION_HEADER(shdr, minsize) \ 613 ( (shdr)->sh_type == SHT_GROUP \ 614 && (shdr)->sh_size >= minsize \ 615 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ 616 && ((shdr)->sh_size % GRP_ENTRY_SIZE) == 0) 620 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 622 if (IS_VALID_GROUP_SECTION_HEADER (shdr, 2 * GRP_ENTRY_SIZE)) 648 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 650 if (IS_VALID_GROUP_SECTION_HEADER (shdr, 756 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local 904 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local [all...] |
/netbsd-current/external/gpl3/gdb/dist/bfd/ |
H A D | elf.c | 563 Elf_Internal_Shdr *shdr; member in union:elf_internal_group 614 #define IS_VALID_GROUP_SECTION_HEADER(shdr, minsize) \ 615 ( (shdr)->sh_type == SHT_GROUP \ 616 && (shdr)->sh_size >= minsize \ 617 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ 618 && ((shdr)->sh_size % GRP_ENTRY_SIZE) == 0) 622 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 624 if (IS_VALID_GROUP_SECTION_HEADER (shdr, 2 * GRP_ENTRY_SIZE)) 650 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 652 if (IS_VALID_GROUP_SECTION_HEADER (shdr, 758 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local 908 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local [all...] |
/netbsd-current/external/gpl3/binutils/dist/bfd/ |
H A D | elf.c | 564 Elf_Internal_Shdr *shdr; member in union:elf_internal_group 615 #define IS_VALID_GROUP_SECTION_HEADER(shdr, minsize) \ 616 ( (shdr)->sh_type == SHT_GROUP \ 617 && (shdr)->sh_size >= minsize \ 618 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ 619 && ((shdr)->sh_size % GRP_ENTRY_SIZE) == 0) 623 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 625 if (IS_VALID_GROUP_SECTION_HEADER (shdr, 2 * GRP_ENTRY_SIZE)) 651 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 653 if (IS_VALID_GROUP_SECTION_HEADER (shdr, 759 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local 905 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
H A D | nouveau_nvkm_subdev_clk_base.c | 57 u8 idx = 0, sver, shdr; local 64 shdr = hdr; 65 subd = nvbios_boostSp(bios, idx++, data, &sver, &shdr, 471 u8 sver = ver, shdr = hdr; local 473 &sver, &shdr, cnt, len, &perfS);
|
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/ |
H A D | DwarfLib.cc | 166 Elf_Internal_Shdr *shdr = elf->get_shdr (sec); 167 if (shdr == NULL) 175 uint64_t EntSize = shdr->sh_entsize; 179 Elf_Internal_Shdr *shdr_sym = elf->get_shdr (shdr->sh_link); 182 Elf_Data *data_sym = elf->elf_getdata (shdr->sh_link); 277 Elf_Internal_Shdr *shdr = elfp->get_shdr (sec); 278 if (shdr == NULL || shdr->sh_entsize == 0) 285 int cnt = (int) (data->d_size / shdr->sh_entsize); 286 Elf_Internal_Shdr *shdr_sym = elfp->get_shdr (shdr [all...] |
/netbsd-current/external/cddl/osnet/dist/tools/ctf/cvt/ |
H A D | dwarf.c | 1968 GElf_Shdr shdr; local 1975 gelf_getshdr(scn, &shdr); 1977 if (shdr.sh_type == SHT_SYMTAB) { 1987 nsyms = shdr.sh_size / shdr.sh_entsize; 1997 name = elf_strptr(elf, shdr.sh_link, sym.st_name);
|
/netbsd-current/sys/dev/ |
H A D | ipmi.c | 1145 struct sdrhdr shdr; local 1162 if (get_sdr_partial(sc, recid, resid, 0, sizeof shdr, &shdr, nxtrec)) { 1168 sdrlen = sizeof(shdr) + shdr.record_length; 1173 memcpy(psdr, &shdr, sizeof(shdr)); 1176 for (offset = sizeof(shdr); offset < sdrlen; offset += maxsdrlen) {
|