Lines Matching refs:name

730   const char *name;
775 /* Sort by name as last resort. */
792 s1->name, s2->name,
815 const char *name;
873 s->name = strdata->d_buf + sym->st_name;
920 return (s1->compare - s2->compare) ?: strcmp (s1->name, s2->name);
932 cmp = (s1->name == NULL) - (s2->name == NULL);
980 /* Return true iff the flags, size, and name match. */
983 const GElf_Shdr *shdr, const char *name)
990 && !strcmp (sections[i].name, name));
995 find_alloc_section (const GElf_Shdr *shdr, GElf_Addr bias, const char *name,
1010 Find one with matching size, flags, and name. */
1015 if (sections_match (sections, i, shdr, name))
1027 error_exit (0, _("cannot read section [%zu] name: %s"),
1064 error_exit (0, _("bad symbol name for group section: %s"),
1071 check_match (bool match, Elf_Scn *scn, const char *name)
1076 elf_ndxscn (scn), name);
1102 && !strcmp (sec->name, ".gnu.prelink_undo"))
1205 sec->name = get_section_name (i + 1, &sec->shdr, main_shstrtab);
1229 const char *name = get_section_name (elf_ndxscn (scn), shdr,
1234 struct section *sec = find_alloc_section (shdr, 0, name,
1249 fail |= check_match (shdr == NULL, scn, name);
1263 const char *name = undo_sec->name;
1280 && !strcmp (sec->name, ".dynstr"))))
1285 && !strcmp (sec->name, ".plt")))
1294 && (!strcmp (sec->name, ".bss")
1295 || !strcmp (sec->name, ".sbss"))
1305 fail |= check_match (undo_sec == NULL, scn, name);
1337 sec->strent = dwelf_strtab_add (strtab, sec->name);
1339 _("cannot add section name to string table: %s"));
1352 const char *name = get_section_name (i + 1, shdr, shstrtab);
1353 unstripped_strent[i] = dwelf_strtab_add (strtab, name);
1355 _("cannot add section name to string table: %s"));
1432 sections[i].name = elf_strptr (stripped, stripped_shstrndx,
1434 if (sections[i].name == NULL)
1435 error_exit (0, _("cannot read section [%zu] name: %s"),
1485 const char *name = get_section_name (ndx, shdr, shstrtab);
1493 sec = find_alloc_section (shdr, bias, name, sections, nalloc);
1505 if (likely (sections_match (sections, alloc_avail, shdr, name)))
1509 if (sections_match (sections, i, shdr, name))
1526 name, section->name,
1549 if (!strcmp (name, ".comment"))
1556 elf_ndxscn (scn), name);
1617 && !strcmp (sec->name, ".gnu_debuglink"))
1633 sec->strent = dwelf_strtab_add (strtab, sec->name);
1635 _("cannot add section name to string table: %s"));
1853 s->name = NULL; /* Mark as discarded. */
1866 s->name = NULL; /* Mark as discarded. */
1880 assert (symbols[nsym].name == NULL);
1887 assert (symbols[i].name != NULL);
1890 symbols[i].strent = dwelf_strtab_add (symstrtab, symbols[i].name);
1897 assert (symbols[i].name == NULL);
1923 const char *name = get_section_name (i + 1, hdr, shstrtab);
1924 unstripped_strent[i] = dwelf_strtab_add (symstrtab, name);
1926 _("cannot add section name to string table: %s"));
2241 /* Handle a pair of files we need to open by name. */
2397 const char *name = dwfl_module_info (mod, NULL, NULL, NULL,
2403 char *output_file = xasprintf ("%s/%s", output_dir, modnames ? name : file);
2423 const char *name = dwfl_module_info (mod, NULL, &start, &end,
2448 name);
2462 const char *name,
2484 if (check == NULL || strcmp (check, name) != 0 || file == NULL)
2487 name = file;
2491 if (fnmatch (*p, name, 0) == 0)
2566 MODULE arguments give file name patterns matching modules to process.\n\
2567 With -f these match the file name of the main (stripped) file \
2574 name of the main file complete with directory underneath OUTPUT-DIRECTORY.\n\
2582 FILE is the file name found for the module, or - if none was found, \
2584 DEBUGFILE is the separate debuginfo file name, \