Home
last modified time | relevance | path

Searched refs:sh_link (Results 1 – 25 of 57) sorted by relevance

123

/dragonfly/contrib/binutils-2.34/libiberty/
H A Dsimple-object-elf.c876 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_link, Elf_Word, sh_link); in simple_object_elf_write_shdr()
967 unsigned int sh_link = 0; in simple_object_elf_write_to_file() local
984 sh_link, Elf_Word); in simple_object_elf_write_to_file()
1191 unsigned int sh_link; in simple_object_elf_copy_lto_debug_sections() local
1254 pfnret[sh_link - 1] = 0; in simple_object_elf_copy_lto_debug_sections()
1266 pfnret[sh_link - 1] = 0; in simple_object_elf_copy_lto_debug_sections()
1276 pfnret[sh_link - 1] = 0; in simple_object_elf_copy_lto_debug_sections()
1549 unsigned int sh_info, sh_link; in simple_object_elf_copy_lto_debug_sections() local
1562 if (sh_link < SHN_LORESERVE in simple_object_elf_copy_lto_debug_sections()
1564 sh_link = sh_map[sh_link]; in simple_object_elf_copy_lto_debug_sections()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dsimple-object-elf.c868 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_link, Elf_Word, sh_link); in simple_object_elf_write_shdr()
959 unsigned int sh_link = 0; in simple_object_elf_write_to_file() local
976 sh_link, Elf_Word); in simple_object_elf_write_to_file()
1183 unsigned int sh_link; in simple_object_elf_copy_lto_debug_sections() local
1246 pfnret[sh_link - 1] = 0; in simple_object_elf_copy_lto_debug_sections()
1258 pfnret[sh_link - 1] = 0; in simple_object_elf_copy_lto_debug_sections()
1268 pfnret[sh_link - 1] = 0; in simple_object_elf_copy_lto_debug_sections()
1521 unsigned int sh_info, sh_link; in simple_object_elf_copy_lto_debug_sections() local
1534 if (sh_link < SHN_LORESERVE in simple_object_elf_copy_lto_debug_sections()
1536 sh_link = sh_map[sh_link]; in simple_object_elf_copy_lto_debug_sections()
[all …]
/dragonfly/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c77 d->sh_link = sh32->sh_link; in gelf_getshdr()
124 sh32->sh_link = s->sh_link; in gelf_update_shdr()
H A Dlibelf_extended.c90 scn->s_shdr.s_shdr32.sh_link = shstrndx; in _libelf_setshstrndx()
92 scn->s_shdr.s_shdr64.sh_link = shstrndx; in _libelf_setshstrndx()
H A Delf_types.m4202 `sh_link, WORD',
215 `sh_link, WORD',
/dragonfly/contrib/gdb-7/include/elf/
H A Dexternal.h120 unsigned char sh_link[4]; /* Index of another section */ member
133 unsigned char sh_link[4]; /* Index of another section */ member
/dragonfly/contrib/binutils-2.27/bfd/
H A Delf.c1282 unsigned int sh_link; in copy_special_section_fields() local
1303 oheader->sh_link = iheader->sh_link; in copy_special_section_fields()
1321 sh_link = find_link (obfd, iheaders[iheader->sh_link], iheader->sh_link); in copy_special_section_fields()
1324 oheader->sh_link = sh_link; in copy_special_section_fields()
1343 if (sh_link != SHN_UNDEF) in copy_special_section_fields()
1348 sh_link = iheader->sh_info; in copy_special_section_fields()
1473 || iheader->sh_link != oheader->sh_link)) in _bfd_elf_copy_private_bfd_data()
2004 hdr->sh_link = dynsymhdr->sh_link; in bfd_section_from_shdr()
2016 hdr->sh_link = dynsymhdr->sh_link; in bfd_section_from_shdr()
2278 hdr->sh_link = found; in bfd_section_from_shdr()
[all …]
H A Delfcode.h317 dst->sh_link = H_GET_32 (abfd, src->sh_link); in elf_swap_shdr_in()
340 H_PUT_32 (abfd, src->sh_link, dst->sh_link); in elf_swap_shdr_out()
634 i_ehdrp->e_shstrndx = i_shdr.sh_link; in elf_object_p()
635 if (i_ehdrp->e_shstrndx != i_shdr.sh_link) in elf_object_p()
707 if (i_shdrp[shindex].sh_link >= num_sec) in elf_object_p()
720 if (i_shdrp[shindex].sh_link == (SHN_LORESERVE & 0xffff) /* SHN_BEFORE */ in elf_object_p()
721 || i_shdrp[shindex].sh_link == ((SHN_LORESERVE + 1) & 0xffff) /* SHN_AFTER */) in elf_object_p()
1018 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx; in elf_write_shdrs_and_ehdr()
1571 (long) hdr->sh_link, in elf_debug_section()
/dragonfly/contrib/binutils-2.27/include/elf/
H A Dexternal.h119 unsigned char sh_link[4]; /* Index of another section */ member
132 unsigned char sh_link[4]; /* Index of another section */ member
/dragonfly/contrib/binutils-2.34/include/elf/
H A Dexternal.h119 unsigned char sh_link[4]; /* Index of another section */ member
132 unsigned char sh_link[4]; /* Index of another section */ member
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dsimple-object-elf.c163 unsigned char sh_link[4]; /* Index of another section */ member
178 unsigned char sh_link[4]; /* Index of another section */ member
455 shdr, sh_link, Elf_Word); in simple_object_elf_match()
770 unsigned int sh_link, unsigned int sh_addralign, in simple_object_elf_write_shdr() argument
793 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_link, Elf_Word, sh_link); in simple_object_elf_write_shdr()
/dragonfly/contrib/binutils-2.34/bfd/
H A Delf.c1407 unsigned int sh_link; in copy_special_section_fields() local
1428 oheader->sh_link = iheader->sh_link; in copy_special_section_fields()
1456 sh_link = find_link (obfd, iheaders[iheader->sh_link], iheader->sh_link); in copy_special_section_fields()
1459 oheader->sh_link = sh_link; in copy_special_section_fields()
1479 if (sh_link != SHN_UNDEF) in copy_special_section_fields()
1484 sh_link = iheader->sh_info; in copy_special_section_fields()
1610 || iheader->sh_link != oheader->sh_link)) in _bfd_elf_copy_private_bfd_data()
2143 hdr->sh_link = dynsymhdr->sh_link; in bfd_section_from_shdr()
2155 hdr->sh_link = dynsymhdr->sh_link; in bfd_section_from_shdr()
2422 hdr->sh_link = found; in bfd_section_from_shdr()
[all …]
H A Delfcode.h325 dst->sh_link = H_GET_32 (abfd, src->sh_link); in elf_swap_shdr_in()
348 H_PUT_32 (abfd, src->sh_link, dst->sh_link); in elf_swap_shdr_out()
641 i_ehdrp->e_shstrndx = i_shdr.sh_link; in elf_object_p()
642 if (i_ehdrp->e_shstrndx != i_shdr.sh_link) in elf_object_p()
714 if (i_shdrp[shindex].sh_link >= num_sec) in elf_object_p()
727 if (i_shdrp[shindex].sh_link == (SHN_LORESERVE & 0xffff) /* SHN_BEFORE */ in elf_object_p()
728 || i_shdrp[shindex].sh_link == ((SHN_LORESERVE + 1) & 0xffff) /* SHN_AFTER */) in elf_object_p()
1038 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx; in elf_write_shdrs_and_ehdr()
1597 (long) hdr->sh_link, in elf_debug_section()
/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-open-bfd.c160 && symhdr->sh_link < elf_numsections (abfd)) in ctf_bfdopen_ctfsect()
162 strhdr = elf_elfsections (abfd)[symhdr->sh_link]; in ctf_bfdopen_ctfsect()
165 if ((strtab = bfd_elf_get_str_section (abfd, symhdr->sh_link)) == NULL) in ctf_bfdopen_ctfsect()
/dragonfly/contrib/gdb-7/bfd/
H A Delf.c1611 hdr->sh_link = dynsymhdr->sh_link; in bfd_section_from_shdr()
1623 hdr->sh_link = dynsymhdr->sh_link; in bfd_section_from_shdr()
1677 && hdr2->sh_link == shindex) in bfd_section_from_shdr()
1685 && hdr2->sh_link == shindex) in bfd_section_from_shdr()
1768 if (hdr2->sh_link == shindex) in bfd_section_from_shdr()
1800 if (hdr->sh_link >= num_sec) in bfd_section_from_shdr()
1840 hdr->sh_link = found; in bfd_section_from_shdr()
1857 || hdr->sh_link == SHN_UNDEF in bfd_section_from_shdr()
2618 this_hdr->sh_link = 0; in elf_fake_sections()
3497 shstrtab_hdr->sh_link = 0; in _bfd_elf_compute_section_file_positions()
[all …]
H A Delfcode.h318 dst->sh_link = H_GET_32 (abfd, src->sh_link); in elf_swap_shdr_in()
341 H_PUT_32 (abfd, src->sh_link, dst->sh_link); in elf_swap_shdr_out()
638 i_ehdrp->e_shstrndx = i_shdr.sh_link; in elf_object_p()
639 if (i_ehdrp->e_shstrndx != i_shdr.sh_link) in elf_object_p()
709 if (i_shdrp[shindex].sh_link >= num_sec) in elf_object_p()
722 if (i_shdrp[shindex].sh_link == (SHN_LORESERVE & 0xffff) /* SHN_BEFORE */ in elf_object_p()
723 || i_shdrp[shindex].sh_link == ((SHN_LORESERVE + 1) & 0xffff) /* SHN_AFTER */) in elf_object_p()
1016 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx; in elf_write_shdrs_and_ehdr()
1567 (long) hdr->sh_link, in elf_debug_section()
/dragonfly/contrib/binutils-2.27/binutils/
H A Dreadelf.c5055 internal->sh_link = BYTE_GET (shdrs[i].sh_link); in get_32bit_section_headers()
5117 internal->sh_link = BYTE_GET (shdrs[i].sh_link); in get_64bit_section_headers()
5979 printf ("%2u ", section->sh_link); in process_section_headers()
5985 section->sh_link, in process_section_headers()
5991 i, section->sh_link); in process_section_headers()
6076 section->sh_link, in process_section_headers()
6712 if (section->sh_link != 0 in process_relocs()
6731 if (symsec->sh_link != 0 in process_relocs()
7112 && sec->sh_link < elf_header.e_shnum) in ia64_process_unwind()
7116 strsec = section_headers + sec->sh_link; in ia64_process_unwind()
[all …]
/dragonfly/contrib/binutils-2.34/binutils/
H A Dreadelf.c5484 internal->sh_link = BYTE_GET (shdrs[i].sh_link); in get_32bit_section_headers()
5551 internal->sh_link = BYTE_GET (shdrs[i].sh_link); in get_64bit_section_headers()
6420 if (section->sh_link == 0 in process_section_headers()
6432 if (section->sh_link == 0 in process_section_headers()
6437 i, section->sh_link); in process_section_headers()
6450 i, section->sh_link); in process_section_headers()
6458 i, section->sh_link); in process_section_headers()
6469 i, section->sh_link); in process_section_headers()
6607 section->sh_link, in process_section_headers()
6613 i, section->sh_link); in process_section_headers()
[all …]
/dragonfly/contrib/file/src/
H A Dreadelf.h213 Elf32_Word sh_link; member
226 Elf64_Word sh_link; member
/dragonfly/lib/libc/gen/
H A Dnlist.c279 symstroff = shdr[shdr[i].sh_link].sh_offset; in __elf_fdnlist()
280 symstrsize = shdr[shdr[i].sh_link].sh_size; in __elf_fdnlist()
/dragonfly/sys/sys/
H A Delf32.h84 Elf32_Word sh_link; /* Index of a related section. */ member
H A Delf64.h99 Elf64_Word sh_link; /* Index of a related section. */ member
/dragonfly/contrib/gdb-7/libiberty/
H A Dsimple-object-elf.c163 unsigned char sh_link[4]; /* Index of another section */ member
178 unsigned char sh_link[4]; /* Index of another section */ member
455 shdr, sh_link, Elf_Word); in simple_object_elf_match()
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dsimple-object-elf.c163 unsigned char sh_link[4]; /* Index of another section */ member
178 unsigned char sh_link[4]; /* Index of another section */ member
455 shdr, sh_link, Elf_Word); in simple_object_elf_match()
/dragonfly/lib/libexecinfo/
H A Dsymtab.c145 elf_strptr(elf, shdr.sh_link, sym.st_name)); in symtab_create()

123