Searched refs:arhdr (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/size/common/ |
H A D | main.c | 66 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/elfdump/common/ |
H A D | main.c | 538 Elf_Arhdr *arhdr; in archive() local 610 arhdr = NULL; in archive() 614 arhdr = NULL; in archive() 615 } else if ((arhdr = elf_getarhdr(_elf)) == 0) { in archive() 618 arhdr = NULL; in archive() 631 arhdr ? arhdr->ar_name : in archive() 665 if ((arhdr = elf_getarhdr(_elf)) == NULL) { in archive() 669 if (*arhdr->ar_name != '/') { in archive() 671 MSG_ORIG(MSG_FMT_ARNAME), file, arhdr->ar_name); in archive()
|
/illumos-gate/usr/src/cmd/sgs/libelf/demo/ |
H A D | tpcom.c | 143 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 D | pcom.c | 131 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 D | dispsyms.c | 299 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/dis/ |
H A D | dis_target.c | 439 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 D | ctfmerge.c | 215 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 D | ld.c | 222 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 D | libs.c | 324 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()
|