Home
last modified time | relevance | path

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

/dragonfly/contrib/gcc-8.0/libiberty/
HDsimple-object-elf.c418 unsigned char *shdrs; member
570 unsigned char *shdrs; in simple_object_elf_find_sections() local
586 shdrs = XNEWVEC (unsigned char, shdr_size * (shnum - 1)); in simple_object_elf_find_sections()
590 shdrs, in simple_object_elf_find_sections()
594 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
600 shstrhdr = shdrs + (eor->shstrndx - 1) * shdr_size; in simple_object_elf_find_sections()
611 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
623 shdr = shdrs + (i - 1) * shdr_size; in simple_object_elf_find_sections()
630 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
645 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
[all …]
/dragonfly/contrib/binutils-2.34/libiberty/
HDsimple-object-elf.c418 unsigned char *shdrs; member
578 unsigned char *shdrs; in simple_object_elf_find_sections() local
594 shdrs = XNEWVEC (unsigned char, shdr_size * (shnum - 1)); in simple_object_elf_find_sections()
598 shdrs, in simple_object_elf_find_sections()
602 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
608 shstrhdr = shdrs + (eor->shstrndx - 1) * shdr_size; in simple_object_elf_find_sections()
619 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
631 shdr = shdrs + (i - 1) * shdr_size; in simple_object_elf_find_sections()
638 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
653 XDELETEVEC (shdrs); in simple_object_elf_find_sections()
[all …]
/dragonfly/contrib/gdb-7/libiberty/
HDsimple-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()
/dragonfly/contrib/binutils-2.27/libiberty/
HDsimple-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()
/dragonfly/contrib/gcc-4.7/libiberty/
HDsimple-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()
/dragonfly/contrib/binutils-2.27/gold/
HDobject.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()
HDoutput.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()
/dragonfly/contrib/binutils-2.27/binutils/
HDreadelf.c5010 Elf32_External_Shdr * shdrs; in get_32bit_section_headers() local
5019 if (size < sizeof * shdrs) in get_32bit_section_headers()
5025 if (!probe && size > sizeof * shdrs) in get_32bit_section_headers()
5028 shdrs = (Elf32_External_Shdr *) get_data (NULL, file, elf_header.e_shoff, in get_32bit_section_headers()
5031 if (shdrs == NULL) in get_32bit_section_headers()
5049 internal->sh_name = BYTE_GET (shdrs[i].sh_name); in get_32bit_section_headers()
5050 internal->sh_type = BYTE_GET (shdrs[i].sh_type); in get_32bit_section_headers()
5051 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_32bit_section_headers()
5052 internal->sh_addr = BYTE_GET (shdrs[i].sh_addr); in get_32bit_section_headers()
5053 internal->sh_offset = BYTE_GET (shdrs[i].sh_offset); in get_32bit_section_headers()
[all …]
/dragonfly/contrib/gcc-8.0/libbacktrace/
HDelf.c2650 const b_elf_shdr *shdrs; in elf_add() local
2798 shdrs = (const b_elf_shdr *) shdrs_view.data; in elf_add()
2802 shstrhdr = &shdrs[shstrndx - 1]; in elf_add()
2825 shdr = &shdrs[i - 1]; in elf_add()
2929 symtab_shdr = &shdrs[symtab_shndx - 1]; in elf_add()
2937 strtab_shdr = &shdrs[strtab_shndx - 1]; in elf_add()
/dragonfly/contrib/binutils-2.34/gold/
HDobject.cc964 const unsigned char* shdrs, in include_section_group() argument
970 typename This::Shdr shdr(shdrs + index * This::shdr_size); in include_section_group()
1037 typename This::Shdr member_shdr(shdrs + sym_shndx * This::shdr_size); in include_section_group()
1097 typename This::Shdr member_shdr(shdrs + shndx * This::shdr_size); in include_section_group()
1497 const unsigned char* shdrs = section_headers_data; in do_layout() local
1520 pshdrs = shdrs + This::shdr_size; in do_layout()
1602 pshdrs = shdrs + This::shdr_size; in do_layout()
1665 shdrs, pnames, in do_layout()
HDoutput.cc464 Output_file_header::set_section_info(const Output_section_headers* shdrs, in set_section_info() argument
467 this->section_header_ = shdrs; in set_section_info()
/dragonfly/contrib/binutils-2.34/binutils/
HDreadelf.c5439 Elf32_External_Shdr * shdrs; in get_32bit_section_headers() local
5448 if (size < sizeof * shdrs) in get_32bit_section_headers()
5454 if (!probe && size > sizeof * shdrs) in get_32bit_section_headers()
5457 shdrs = (Elf32_External_Shdr *) get_data (NULL, filedata, filedata->file_header.e_shoff, in get_32bit_section_headers()
5460 if (shdrs == NULL) in get_32bit_section_headers()
5470 free (shdrs); in get_32bit_section_headers()
5478 internal->sh_name = BYTE_GET (shdrs[i].sh_name); in get_32bit_section_headers()
5479 internal->sh_type = BYTE_GET (shdrs[i].sh_type); in get_32bit_section_headers()
5480 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_32bit_section_headers()
5481 internal->sh_addr = BYTE_GET (shdrs[i].sh_addr); in get_32bit_section_headers()
[all …]