Searched refs:shdrs (Results 1 – 4 of 4) sorted by relevance
500 unsigned char *shdrs; in simple_object_elf_find_sections() local516 shdrs = XNEWVEC (unsigned char, shdr_size * (shnum - 1)); in simple_object_elf_find_sections()520 shdrs, in simple_object_elf_find_sections()524 XDELETEVEC (shdrs); in simple_object_elf_find_sections()530 shstrhdr = shdrs + (eor->shstrndx - 1) * shdr_size; in simple_object_elf_find_sections()541 XDELETEVEC (shdrs); in simple_object_elf_find_sections()553 shdr = shdrs + (i - 1) * shdr_size; in simple_object_elf_find_sections()560 XDELETEVEC (shdrs); in simple_object_elf_find_sections()575 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
963 const unsigned char* shdrs, in include_section_group() argument969 typename This::Shdr shdr(shdrs + index * This::shdr_size); in include_section_group()1036 typename This::Shdr member_shdr(shdrs + sym_shndx * This::shdr_size); in include_section_group()1096 typename This::Shdr member_shdr(shdrs + shndx * This::shdr_size); in include_section_group()1423 const unsigned char* shdrs = section_headers_data; in do_layout() local1446 pshdrs = shdrs + This::shdr_size; in do_layout()1528 pshdrs = shdrs + This::shdr_size; in do_layout()1581 shdrs, pnames, in do_layout()
452 Output_file_header::set_section_info(const Output_section_headers* shdrs, in set_section_info() argument455 this->section_header_ = shdrs; in set_section_info()
5111 Elf32_External_Shdr * shdrs; in get_32bit_section_headers() local5120 if (size < sizeof * shdrs) in get_32bit_section_headers()5126 if (!probe && size > sizeof * shdrs) in get_32bit_section_headers()5129 shdrs = (Elf32_External_Shdr *) get_data (NULL, file, elf_header.e_shoff, in get_32bit_section_headers()5132 if (shdrs == NULL) in get_32bit_section_headers()5150 internal->sh_name = BYTE_GET (shdrs[i].sh_name); in get_32bit_section_headers()5151 internal->sh_type = BYTE_GET (shdrs[i].sh_type); in get_32bit_section_headers()5152 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_32bit_section_headers()5153 internal->sh_addr = BYTE_GET (shdrs[i].sh_addr); in get_32bit_section_headers()5154 internal->sh_offset = BYTE_GET (shdrs[i].sh_offset); in get_32bit_section_headers()[all …]