• Home
  • Raw
  • Download

Lines Matching refs:fileinfo

62 static int ld_generic_file_close (struct usedfiles *fileinfo,
64 static int ld_generic_file_process (int fd, struct usedfiles *fileinfo,
98 static int file_process2 (struct usedfiles *fileinfo);
127 print_file_name (FILE *s, struct usedfiles *fileinfo, int first_level, in print_file_name() argument
132 if (fileinfo->archive_file != NULL) in print_file_name()
134 npar = print_file_name (s, fileinfo->archive_file, 0, 0) + 1; in print_file_name()
136 fputs_unlocked (fileinfo->rfname, s); in print_file_name()
143 fputs_unlocked (fileinfo->rfname, s); in print_file_name()
164 struct usedfiles *file = scninfo->fileinfo; in linked_from_dso_p()
335 open_along_path2 (struct usedfiles *fileinfo, struct pathelement *path) in open_along_path2() argument
337 const char *fname = fileinfo->fname; in open_along_path2()
355 if (fileinfo->file_type == archive_file_type) in open_along_path2()
386 assert (fileinfo->file_type == dso_file_type in open_along_path2()
387 || fileinfo->file_type == dso_needed_file_type); in open_along_path2()
402 fileinfo->fd = fd; in open_along_path2()
406 if (unlikely (check_for_duplicate (fileinfo) != 0)) in open_along_path2()
410 fileinfo->rfname = obstack_strdup (&ld_state.smem, rfname); in open_along_path2()
413 printf (fileinfo->file_type == archive_file_type in open_along_path2()
455 open_along_path (struct usedfiles *fileinfo) in open_along_path() argument
457 const char *fname = fileinfo->fname; in open_along_path()
460 if (fileinfo->file_type == relocatable_file_type) in open_along_path()
463 fileinfo->fd = open (fname, O_RDONLY); in open_along_path()
465 if (likely (fileinfo->fd != -1)) in open_along_path()
469 print_file_name (stdout, fileinfo, 1, 1); in open_along_path()
471 return check_for_duplicate (fileinfo); in open_along_path()
481 err = open_along_path2 (fileinfo, ld_state.ld_library_path1); in open_along_path()
485 err = open_along_path2 (fileinfo, in open_along_path()
486 fileinfo->file_type == archive_file_type in open_along_path()
492 err = open_along_path2 (fileinfo, ld_state.ld_library_path2); in open_along_path()
497 if (fileinfo->file_type == dso_file_type) in open_along_path()
498 err = open_along_path2 (fileinfo, ld_state.runpath_link); in open_along_path()
502 err = open_along_path2 (fileinfo, ld_state.default_paths); in open_along_path()
508 && (err != EAGAIN || fileinfo->file_type == relocatable_file_type)) in open_along_path()
509 error (0, err, gettext ("cannot open %s"), fileinfo->fname); in open_along_path()
517 struct usedfiles *fileinfo, struct symbol *oldp) in matching_group_comdat_scn() argument
524 size_t newgrpid = fileinfo->scninfo[shndx].grpid; in matching_group_comdat_scn()
529 assert (SCNINFO_SHDR (fileinfo->scninfo[newgrpid].shdr).sh_type in matching_group_comdat_scn()
534 if (! fileinfo->scninfo[newgrpid].comdat_group in matching_group_comdat_scn()
538 if (strcmp (fileinfo->scninfo[newgrpid].symbols->name, in matching_group_comdat_scn()
548 check_type_and_size (const XElf_Sym *sym, struct usedfiles *fileinfo, in check_type_and_size() argument
571 fileinfo->rfname); in check_type_and_size()
579 (uint64_t) sym->st_size, fileinfo->rfname); in check_type_and_size()
585 struct usedfiles *fileinfo, struct symbol *oldp) in check_definition() argument
589 bool new_in_dso = FILEINFO_EHDR (fileinfo->ehdr).e_type == ET_DYN; in check_definition()
603 check_type_and_size (sym, fileinfo, oldp); in check_definition()
626 && matching_group_comdat_scn (sym, shndx, fileinfo, oldp)) in check_definition()
639 && ! old_in_dso && fileinfo->file_type == relocatable_file_type) in check_definition()
649 if (elf_getshdrnum (fileinfo->elf, &shnum) < 0) in check_definition()
656 scnname = elf_strptr (fileinfo->elf, in check_definition()
657 fileinfo->shstrndx, in check_definition()
658 SCNINFO_SHDR (fileinfo->scninfo[shndx].shdr).sh_name); in check_definition()
665 print_file_name (stderr, fileinfo, 1, 0); in check_definition()
696 else if (old_in_dso && fileinfo->file_type == relocatable_file_type in check_definition()
728 if (old_in_dso && fileinfo->file_type == relocatable_file_type) in check_definition()
747 oldp->file = fileinfo; in check_definition()
751 if (likely (fileinfo->file_type == relocatable_file_type)) in check_definition()
761 mark_section_used (&fileinfo->scninfo[shndx], shndx, &ignore); in check_definition()
794 find_section_group (struct usedfiles *fileinfo, Elf32_Word shndx, in find_section_group() argument
799 for (runp = fileinfo->groups; runp != NULL; runp = runp->next) in find_section_group()
810 fileinfo->fname, elf_errmsg (-1)); in find_section_group()
832 fileinfo->fname, in find_section_group()
833 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in find_section_group()
834 SCNINFO_SHDR (fileinfo->scninfo[shndx].shdr).sh_name)); in find_section_group()
842 mark_section_group (struct usedfiles *fileinfo, Elf32_Word shndx, in mark_section_group() argument
850 struct scninfo *grpscn = find_section_group (fileinfo, shndx, &data); in mark_section_group()
872 XElf_Shdr *shdr = &SCNINFO_SHDR (fileinfo->scninfo[idx].shdr); in mark_section_group()
874 if (fileinfo->scninfo[idx].grpid != grpscn->grpid) in mark_section_group()
877 fileinfo->fname, (int) idx, in mark_section_group()
878 elf_strptr (fileinfo->elf, fileinfo->shstrndx, shdr->sh_name)); in mark_section_group()
883 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in mark_section_group()
888 elf_strptr (fileinfo->elf, in mark_section_group()
889 fileinfo->shstrndx, in mark_section_group()
890 SCNINFO_SHDR (fileinfo->scninfo[shdr->sh_info].shdr).sh_name))))) in mark_section_group()
894 mark_section_used (&fileinfo->scninfo[idx], idx, &ignore); in mark_section_group()
934 mark_section_used (&scninfo->fileinfo->scninfo[shdr->sh_link], in mark_section_used()
942 mark_section_used (&scninfo->fileinfo->scninfo[shdr->sh_info], in mark_section_used()
948 mark_section_group (scninfo->fileinfo, shndx, grpscnp); in mark_section_used()
957 add_section (struct usedfiles *fileinfo, struct scninfo *scninfo) in add_section() argument
979 && strcmp (elf_strptr (fileinfo->elf, in add_section()
980 fileinfo->shstrndx, in add_section()
982 && (fileinfo->status != in_archive || !ld_state.gc_sections)) in add_section()
989 grpscn = find_section_group (fileinfo, elf_ndxscn (scninfo->scn), in add_section()
994 search.name = elf_strptr (fileinfo->elf, fileinfo->shstrndx, shdr->sh_name); in add_section()
1034 = find_section_group (runp->fileinfo, in add_section()
1088 add_relocatable_file (struct usedfiles *fileinfo, GElf_Word secttype) in add_relocatable_file() argument
1107 assert (fileinfo->elf != NULL); in add_relocatable_file()
1110 if (unlikely (elf_getshdrnum (fileinfo->elf, &scncnt) < 0)) in add_relocatable_file()
1115 fileinfo->scninfo = (struct scninfo *) in add_relocatable_file()
1126 fileinfo->scninfo[cnt].scn = elf_getscn (fileinfo->elf, cnt); in add_relocatable_file()
1131 if (fileinfo->scninfo[cnt].shdr == NULL) in add_relocatable_file()
1133 if (fileinfo->scninfo[cnt].shdr.sh_type == SHT_NULL) in add_relocatable_file()
1137 shdr = xelf_getshdr (fileinfo->scninfo[cnt].scn, in add_relocatable_file()
1138 fileinfo->scninfo[cnt].shdr); in add_relocatable_file()
1140 xelf_getshdr_copy (fileinfo->scninfo[cnt].scn, shdr, in add_relocatable_file()
1141 fileinfo->scninfo[cnt].shdr); in add_relocatable_file()
1147 fileinfo->rfname, __FILE__, __LINE__); in add_relocatable_file()
1152 shdr = &SCNINFO_SHDR (fileinfo->scninfo[cnt].shdr); in add_relocatable_file()
1154 Elf_Data *data = elf_getdata (fileinfo->scninfo[cnt].scn, NULL); in add_relocatable_file()
1162 fileinfo->scninfo[cnt].fileinfo = fileinfo; in add_relocatable_file()
1169 assert (fileinfo->symtabdata == NULL); in add_relocatable_file()
1170 fileinfo->symtabdata = data; in add_relocatable_file()
1171 fileinfo->nsymtab = shdr->sh_size / shdr->sh_entsize; in add_relocatable_file()
1172 fileinfo->nlocalsymbols = shdr->sh_info; in add_relocatable_file()
1173 fileinfo->symstridx = shdr->sh_link; in add_relocatable_file()
1177 assert (fileinfo->dynsymtabdata == NULL); in add_relocatable_file()
1178 fileinfo->dynsymtabdata = data; in add_relocatable_file()
1179 fileinfo->ndynsymtab = shdr->sh_size / shdr->sh_entsize; in add_relocatable_file()
1180 fileinfo->dynsymstridx = shdr->sh_link; in add_relocatable_file()
1197 fileinfo->xndxdata = xndxdata = data; in add_relocatable_file()
1202 fileinfo->versymdata = versymdata = data; in add_relocatable_file()
1209 fileinfo->verdefdata = verdefdata = data; in add_relocatable_file()
1213 fileinfo->nverdef = nversions = shdr->sh_info; in add_relocatable_file()
1216 fileinfo->verdefused = (XElf_Versym *) in add_relocatable_file()
1219 fileinfo->verdefent = (struct Ebl_Strent **) in add_relocatable_file()
1226 fileinfo->verneeddata = verneeddata = data; in add_relocatable_file()
1230 assert (fileinfo->dynscn == NULL); in add_relocatable_file()
1231 fileinfo->dynscn = fileinfo->scninfo[cnt].scn; in add_relocatable_file()
1239 if (FILEINFO_EHDR (fileinfo->ehdr).e_type != ET_REL) in add_relocatable_file()
1242 fileinfo->fname); in add_relocatable_file()
1244 fileinfo->scninfo[cnt].next = fileinfo->groups; in add_relocatable_file()
1245 fileinfo->scninfo[cnt].grpid = cnt; in add_relocatable_file()
1246 fileinfo->groups = &fileinfo->scninfo[cnt]; in add_relocatable_file()
1250 fileinfo->scninfo[cnt].symbols = (struct symbol *) in add_relocatable_file()
1253 symscn = elf_getscn (fileinfo->elf, shdr->sh_link); in add_relocatable_file()
1266 struct symbol *symbol = fileinfo->scninfo[cnt].symbols; in add_relocatable_file()
1272 xelf_getshdr (elf_getscn (fileinfo->elf, sym->st_shndx), in add_relocatable_file()
1275 symbol->name = elf_strptr (fileinfo->elf, in add_relocatable_file()
1276 FILEINFO_EHDR (fileinfo->ehdr).e_shstrndx, in add_relocatable_file()
1283 symbol->name = elf_strptr (fileinfo->elf, in add_relocatable_file()
1288 symbol->file = fileinfo; in add_relocatable_file()
1291 if (fileinfo->scninfo[cnt].symbols->name == NULL) in add_relocatable_file()
1294 fileinfo->fname, in add_relocatable_file()
1295 elf_ndxscn (fileinfo->scninfo[cnt].scn), in add_relocatable_file()
1296 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in add_relocatable_file()
1306 fileinfo->fname, elf_ndxscn (fileinfo->scninfo[cnt].scn), in add_relocatable_file()
1307 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in add_relocatable_file()
1313 fileinfo->scninfo[cnt].comdat_group = true; in add_relocatable_file()
1320 fileinfo->fname, in add_relocatable_file()
1321 inner, elf_ndxscn (fileinfo->scninfo[cnt].scn), in add_relocatable_file()
1322 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in add_relocatable_file()
1326 fileinfo->scninfo[grpdata[inner]].grpid = cnt; in add_relocatable_file()
1332 assert (fileinfo->scninfo[cnt].used == false); in add_relocatable_file()
1341 fileinfo->fname, in add_relocatable_file()
1342 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in add_relocatable_file()
1349 else if (likely (fileinfo->file_type == relocatable_file_type) in add_relocatable_file()
1363 && strcmp (elf_strptr (fileinfo->elf, fileinfo->shstrndx, in add_relocatable_file()
1368 add_section (fileinfo, &fileinfo->scninfo[cnt]); in add_relocatable_file()
1374 if (fileinfo->file_type == relocatable_file_type in add_relocatable_file()
1386 fileinfo->has_merge_sections = has_merge_sections; in add_relocatable_file()
1389 fileinfo->symref = (struct symbol **) in add_relocatable_file()
1404 fileinfo->rfname, __FILE__, __LINE__); in add_relocatable_file()
1413 fileinfo->rfname, __FILE__, __LINE__); in add_relocatable_file()
1419 && ((SCNINFO_SHDR (fileinfo->scninfo[shndx].shdr).sh_flags in add_relocatable_file()
1432 newp->file = fileinfo; in add_relocatable_file()
1434 fileinfo->symref[cnt] = newp; in add_relocatable_file()
1436 if (fileinfo->scninfo[shndx].symbols == NULL) in add_relocatable_file()
1437 fileinfo->scninfo[shndx].symbols = newp->next_in_scn in add_relocatable_file()
1442 = fileinfo->scninfo[shndx].symbols->next_in_scn; in add_relocatable_file()
1443 fileinfo->scninfo[shndx].symbols in add_relocatable_file()
1444 = fileinfo->scninfo[shndx].symbols->next_in_scn = newp; in add_relocatable_file()
1455 fileinfo->symref = (struct symbol **) in add_relocatable_file()
1472 fileinfo->rfname, __FILE__, __LINE__); in add_relocatable_file()
1481 fileinfo->rfname, __FILE__, __LINE__); in add_relocatable_file()
1491 && fileinfo->scninfo[shndx].unused_comdat) in add_relocatable_file()
1512 search.name = elf_strptr (fileinfo->elf, symstridx, sym->st_name); in add_relocatable_file()
1526 && fileinfo->file_type != relocatable_file_type) in add_relocatable_file()
1544 newp->file = fileinfo; in add_relocatable_file()
1582 fileinfo->symref[cnt] = newp; in add_relocatable_file()
1594 else if (unlikely (check_definition (sym, shndx, cnt, fileinfo, oldp) in add_relocatable_file()
1602 newp = fileinfo->symref[cnt] = oldp; in add_relocatable_file()
1612 assert (elf_getshdrnum (fileinfo->elf, &shnum) == 0); in add_relocatable_file()
1617 mark_section_used (&fileinfo->scninfo[shndx], shndx, &ignore); in add_relocatable_file()
1621 if (SCNINFO_SHDR (fileinfo->scninfo[shndx].shdr).sh_flags in add_relocatable_file()
1624 if (fileinfo->scninfo[shndx].symbols == NULL) in add_relocatable_file()
1625 fileinfo->scninfo[shndx].symbols = newp->next_in_scn in add_relocatable_file()
1630 = fileinfo->scninfo[shndx].symbols->next_in_scn; in add_relocatable_file()
1631 fileinfo->scninfo[shndx].symbols in add_relocatable_file()
1632 = fileinfo->scninfo[shndx].symbols->next_in_scn = newp; in add_relocatable_file()
1639 if (likely (fileinfo->file_type == relocatable_file_type)) in add_relocatable_file()
1642 ld_state.relfiles = fileinfo->next = fileinfo; in add_relocatable_file()
1645 fileinfo->next = ld_state.relfiles->next; in add_relocatable_file()
1646 ld_state.relfiles = ld_state.relfiles->next = fileinfo; in add_relocatable_file()
1650 ld_state.nsymtab += fileinfo->nsymtab; in add_relocatable_file()
1651 ld_state.nlocalsymbols += fileinfo->nlocalsymbols; in add_relocatable_file()
1653 else if (likely (fileinfo->file_type == dso_file_type)) in add_relocatable_file()
1655 CSNGL_LIST_ADD_REAR (ld_state.dsofiles, fileinfo); in add_relocatable_file()
1658 if (fileinfo->lazyload) in add_relocatable_file()
1713 open_elf (struct usedfiles *fileinfo, Elf *elf) in open_elf() argument
1727 fileinfo->status = closed; in open_elf()
1730 if (fileinfo->fd != -1) in open_elf()
1732 ldin = fdopen (fileinfo->fd, "r"); in open_elf()
1744 fileinfo->rfname, __FILE__, __LINE__); in open_elf()
1758 fileinfo->rfname); in open_elf()
1765 ldin_fname = fileinfo->rfname; in open_elf()
1769 if (fileinfo->fd != -1 && !fileinfo->fd_passed) in open_elf()
1772 close (fileinfo->fd); in open_elf()
1773 fileinfo->fd = -1; in open_elf()
1783 fileinfo->elf = NULL; in open_elf()
1808 fileinfo->elf = elf; in open_elf()
1811 fileinfo->status = opened; in open_elf()
1818 add_whole_archive (struct usedfiles *fileinfo) in add_whole_archive() argument
1824 while ((arelf = elf_begin (fileinfo->fd, cmd, fileinfo->elf)) != NULL) in add_whole_archive()
1838 newp->archive_file = fileinfo; in add_whole_archive()
1864 extract_from_archive (struct usedfiles *fileinfo) in extract_from_archive() argument
1869 if (fileinfo->archive_seq == 0) in extract_from_archive()
1872 fileinfo->archive_seq = ++archive_seq; in extract_from_archive()
1885 syms = elf_getarsym (fileinfo->elf, &nsyms); in extract_from_archive()
1890 fileinfo->rfname, elf_errmsg (-1)); in extract_from_archive()
1893 fileinfo->status = closed; in extract_from_archive()
1921 if (unlikely (elf_rand (fileinfo->elf, syms[cnt].as_off) in extract_from_archive()
1927 arelf = elf_begin (fileinfo->fd, ELF_C_READ_MMAP_PRIVATE, in extract_from_archive()
1928 fileinfo->elf); in extract_from_archive()
1939 newp->archive_file = fileinfo; in extract_from_archive()
1963 assert (fileinfo->archive_seq != 0); in extract_from_archive()
1964 ld_state.last_archive_used = fileinfo->archive_seq; in extract_from_archive()
1974 file_process2 (struct usedfiles *fileinfo) in file_process2() argument
1978 if (likely (elf_kind (fileinfo->elf) == ELF_K_ELF)) in file_process2()
1982 if (likely (fileinfo->ehdr == NULL)) in file_process2()
1984 if (likely (FILEINFO_EHDR (fileinfo->ehdr).e_type == ET_NONE)) in file_process2()
1989 ehdr = xelf_getehdr (fileinfo->elf, fileinfo->ehdr); in file_process2()
1991 xelf_getehdr_copy (fileinfo->elf, ehdr, fileinfo->ehdr); in file_process2()
1996 fileinfo->rfname, __FILE__, __LINE__); in file_process2()
1997 fileinfo->status = closed; in file_process2()
2001 if (FILEINFO_EHDR (fileinfo->ehdr).e_type != ET_REL in file_process2()
2002 && unlikely (FILEINFO_EHDR (fileinfo->ehdr).e_type != ET_DYN)) in file_process2()
2008 print_file_name (stderr, fileinfo, 1, 0); in file_process2()
2012 FILEINFO_EHDR (fileinfo->ehdr).e_type, in file_process2()
2014 fileinfo->status = closed; in file_process2()
2019 if (FILEINFO_EHDR (fileinfo->ehdr).e_machine in file_process2()
2024 fileinfo->rfname, in file_process2()
2026 fileinfo->status = closed; in file_process2()
2031 if (unlikely (elf_getshdrstrndx (fileinfo->elf, &fileinfo->shstrndx) in file_process2()
2036 fileinfo->rfname, elf_errmsg (-1)); in file_process2()
2037 fileinfo->status = closed; in file_process2()
2043 if (FILEINFO_EHDR (fileinfo->ehdr).e_type == ET_REL) in file_process2()
2047 res = add_relocatable_file (fileinfo, SHT_SYMTAB); in file_process2()
2051 bool has_l_name = fileinfo->file_type == archive_file_type; in file_process2()
2053 assert (FILEINFO_EHDR (fileinfo->ehdr).e_type == ET_DYN); in file_process2()
2057 if (fileinfo->file_type != dso_needed_file_type) in file_process2()
2058 fileinfo->file_type = dso_file_type; in file_process2()
2065 fileinfo->fname); in file_process2()
2071 res = add_relocatable_file (fileinfo, SHT_DYNSYM); in file_process2()
2074 assert (fileinfo->dynscn != NULL); in file_process2()
2079 xelf_getshdr (fileinfo->dynscn, dynshdr); in file_process2()
2081 Elf_Data *dyndata = elf_getdata (fileinfo->dynscn, NULL); in file_process2()
2097 newp = ld_new_inputfile (elf_strptr (fileinfo->elf, in file_process2()
2111 fileinfo->soname = elf_strptr (fileinfo->elf, in file_process2()
2127 size_t len = strlen (fileinfo->fname) + 7; in file_process2()
2131 strcpy (stpcpy (stpcpy (newp, "lib"), fileinfo->fname), ".so"); in file_process2()
2133 fileinfo->soname = newp; in file_process2()
2137 else if (likely (elf_kind (fileinfo->elf) == ELF_K_AR)) in file_process2()
2142 res = add_whole_archive (fileinfo); in file_process2()
2148 error (0, 0, gettext ("input file '%s' ignored"), fileinfo->fname); in file_process2()
2156 ld_state.group_start_archive = fileinfo; in file_process2()
2159 ld_state.archives = fileinfo; in file_process2()
2162 ld_state.tailarchives->next = fileinfo; in file_process2()
2163 ld_state.tailarchives = fileinfo; in file_process2()
2167 res = extract_from_archive (fileinfo); in file_process2()
2184 ld_generic_file_process (int fd, struct usedfiles *fileinfo, in ld_generic_file_process() argument
2190 *nextp = fileinfo->next; in ld_generic_file_process()
2193 if (unlikely (fileinfo->group_start)) in ld_generic_file_process()
2196 fileinfo->group_start = false; in ld_generic_file_process()
2200 if (likely (fileinfo->status == not_opened)) in ld_generic_file_process()
2207 int err = open_along_path (fileinfo); in ld_generic_file_process()
2216 fileinfo->fd = fd; in ld_generic_file_process()
2219 fileinfo->fd_passed = fd_passed; in ld_generic_file_process()
2227 res = open_elf (fileinfo, elf_begin (fileinfo->fd, in ld_generic_file_process()
2228 is_dso_p (fileinfo->fd) in ld_generic_file_process()
2236 if (likely (fileinfo->status != closed)) in ld_generic_file_process()
2237 res = file_process2 (fileinfo); in ld_generic_file_process()
2240 if (unlikely (fileinfo->group_backref != NULL)) in ld_generic_file_process()
2244 if (ld_state.last_archive_used > fileinfo->group_backref->archive_seq) in ld_generic_file_process()
2246 *nextp = fileinfo->group_backref; in ld_generic_file_process()
2266 while (runp != fileinfo->next); in ld_generic_file_process()
2272 *nextp = fileinfo->next = NULL; in ld_generic_file_process()
2275 else if (unlikely (fileinfo->group_end)) in ld_generic_file_process()
2294 if (ld_state.tailarchives != fileinfo) in ld_generic_file_process()
2304 fileinfo->group_end = false; in ld_generic_file_process()
2386 ld_generic_file_close (struct usedfiles *fileinfo, struct ld_state *statep) in ld_generic_file_close() argument
2389 elf_end (fileinfo->elf); in ld_generic_file_close()
2393 if (!fileinfo->fd_passed && fileinfo->fd != -1) in ld_generic_file_close()
2394 close (fileinfo->fd); in ld_generic_file_close()
2397 if (fileinfo->fname != fileinfo->rfname) in ld_generic_file_close()
2398 free ((char *) fileinfo->rfname); in ld_generic_file_close()
2857 const char *brfname = basename (runp->fileinfo->rfname); in match_section()
3201 here_groupidx = runp->fileinfo->scninfo[runp->grpid].outscnndx; in ld_generic_create_sections()
3230 elf_strptr (runp->fileinfo->elf, in ld_generic_create_sections()
3231 runp->fileinfo->shstrndx, in ld_generic_create_sections()
3236 = runp->fileinfo->scninfo[runp->grpid].symbols; in ld_generic_create_sections()
3263 if (runp->fileinfo->scninfo[runp->grpid].outscnndx == 0) in ld_generic_create_sections()
3264 runp->fileinfo->scninfo[runp->grpid].outscnndx = here_groupidx; in ld_generic_create_sections()
3266 assert (runp->fileinfo->scninfo[runp->grpid].outscnndx in ld_generic_create_sections()
6875 rellist->scninfo->fileinfo->scninfo[SCNINFO_SHDR (rellist->scninfo->shdr).sh_info].outscnndx; in ld_generic_create_outfile()