Home
last modified time | relevance | path

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

/netbsd/src/external/gpl3/gdb/dist/libiberty/
Dsimple-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 …]
/netbsd/src/external/gpl3/binutils/dist/libiberty/
Dsimple-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 …]
/netbsd/src/external/gpl3/gcc/dist/libiberty/
Dsimple-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 …]
/netbsd/src/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/
DBtNetBSD271 DIM shdrs% shnum% * shentsize% - 1
272 SYS "OS_GBPB", 3, file%, shdrs%, shnum% * shentsize%, shoff%
275 FOR sh% = shdrs% TO shdrs% + (shnum% - 1) * shentsize% STEP shentsize%
302 FOR sh% = shdrs% TO shdrs% + (shnum% - 1) * shentsize% STEP shentsize%
306 !(FNblock_vaddr(mshdrspage%) + sh% - shdrs% + 16) = vfreebase% - ssym%
/netbsd/src/external/gpl3/binutils/dist/gold/
Dobject.cc965 const unsigned char* shdrs, in include_section_group() argument
971 typename This::Shdr shdr(shdrs + index * This::shdr_size); in include_section_group()
1038 typename This::Shdr member_shdr(shdrs + sym_shndx * This::shdr_size); in include_section_group()
1098 typename This::Shdr member_shdr(shdrs + shndx * This::shdr_size); in include_section_group()
1502 const unsigned char* shdrs = section_headers_data; in do_layout() local
1525 pshdrs = shdrs + This::shdr_size; in do_layout()
1607 pshdrs = shdrs + This::shdr_size; in do_layout()
1670 shdrs, pnames, in do_layout()
Doutput.cc467 Output_file_header::set_section_info(const Output_section_headers* shdrs, in set_section_info() argument
470 this->section_header_ = shdrs; in set_section_info()
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dreadelf.c6900 Elf32_External_Shdr * shdrs; in get_32bit_section_headers() local
6916 if (size < sizeof * shdrs) in get_32bit_section_headers()
6922 if (!probe && size > sizeof * shdrs) in get_32bit_section_headers()
6925 shdrs = (Elf32_External_Shdr *) get_data (NULL, filedata, filedata->file_header.e_shoff, in get_32bit_section_headers()
6928 if (shdrs == NULL) in get_32bit_section_headers()
6937 free (shdrs); in get_32bit_section_headers()
6945 internal->sh_name = BYTE_GET (shdrs[i].sh_name); in get_32bit_section_headers()
6946 internal->sh_type = BYTE_GET (shdrs[i].sh_type); in get_32bit_section_headers()
6947 internal->sh_flags = BYTE_GET (shdrs[i].sh_flags); in get_32bit_section_headers()
6948 internal->sh_addr = BYTE_GET (shdrs[i].sh_addr); in get_32bit_section_headers()
[all …]
DChangeLog-2018713 * readelf.c (get_32bit_section_headers): Free shdrs structure upon