Home
last modified time | relevance | path

Searched refs:shdrs (Results 1 – 4 of 4) sorted by relevance

/toolchain/binutils/binutils-2.27/libiberty/
Dsimple-object-elf.c500 unsigned char *shdrs; in simple_object_elf_find_sections() local
516 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()
/toolchain/binutils/binutils-2.27/gold/
Dobject.cc963 const unsigned char* shdrs, in include_section_group() argument
969 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() local
1446 pshdrs = shdrs + This::shdr_size; in do_layout()
1528 pshdrs = shdrs + This::shdr_size; in do_layout()
1581 shdrs, pnames, in do_layout()
Doutput.cc452 Output_file_header::set_section_info(const Output_section_headers* shdrs, in set_section_info() argument
455 this->section_header_ = shdrs; in set_section_info()
/toolchain/binutils/binutils-2.27/binutils/
Dreadelf.c5111 Elf32_External_Shdr * shdrs; in get_32bit_section_headers() local
5120 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 …]