Home
last modified time | relevance | path

Searched refs:arhdr (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dmain.c66 static Elf_Arhdr *arhdr; variable
198 if ((arhdr = elf_getarhdr(elf)) == 0) { in main()
210 } else if (arhdr->ar_name[0] != '/') { in main()
211 fname = arhdr->ar_name; in main()
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dtpcom.c143 Elf_Arhdr *arhdr; in process_elf() local
147 if ((arhdr = elf_getarhdr(_elf)) == NULL) { in process_elf()
156 strlen(arhdr->ar_name) + 5); in process_elf()
158 "%s(%s)", pep->pe_file, arhdr->ar_name); in process_elf()
H A Dpcom.c131 Elf_Arhdr *arhdr; in process_elf() local
134 arhdr = elf_getarhdr(_elf); in process_elf()
140 (void) sprintf(buffer, "%s(%s)", file, arhdr->ar_name); in process_elf()
H A Ddispsyms.c299 Elf_Arhdr *arhdr; in process_elf() local
302 arhdr = elf_getarhdr(_elf); in process_elf()
309 file, arhdr->ar_name); in process_elf()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dmain.c565 Elf_Arhdr *arhdr; in archive() local
637 arhdr = NULL; in archive()
641 arhdr = NULL; in archive()
642 } else if ((arhdr = elf_getarhdr(_elf)) == 0) { in archive()
645 arhdr = NULL; in archive()
658 arhdr ? arhdr->ar_name : in archive()
692 if ((arhdr = elf_getarhdr(_elf)) == NULL) { in archive()
696 if (*arhdr->ar_name != '/') { in archive()
698 MSG_ORIG(MSG_FMT_ARNAME), file, arhdr->ar_name); in archive()
/illumos-gate/usr/src/cmd/dis/
H A Ddis_target.c439 Elf_Arhdr *arhdr = NULL; in dis_tgt_create() local
467 (arhdr = elf_getarhdr(elf)) == NULL) { in dis_tgt_create()
477 if (arhdr != NULL) { in dis_tgt_create()
483 if (strcmp(arhdr->ar_name, "/") != 0 && in dis_tgt_create()
484 strcmp(arhdr->ar_name, "//") != 0) in dis_tgt_create()
486 file, arhdr->ar_name); in dis_tgt_create()
511 current->dt_arhdr = arhdr; in dis_tgt_create()
/illumos-gate/usr/src/cmd/ctfmerge/
H A Dctfmerge.c215 Elf_Arhdr *arhdr; in ctfmerge_read_archive() local
217 if ((arhdr = elf_getarhdr(aelf)) == NULL) in ctfmerge_read_archive()
223 if (*(arhdr->ar_name) == '/') in ctfmerge_read_archive()
226 if (asprintf(&nname, "%s(%s)", name, arhdr->ar_name) < 0) in ctfmerge_read_archive()
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c222 Elf_Arhdr *arhdr = elf_getarhdr(nelf); in archive() local
224 if (arhdr == NULL) in archive()
226 if (*arhdr->ar_name == '/') in archive()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dlibs.c324 Elf_Arhdr *arhdr; in ar_member_name() local
326 if ((arhdr = elf_getarhdr(arelf)) == NULL) { in ar_member_name()
330 return (arhdr->ar_name); in ar_member_name()