Home
last modified time | relevance | path

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

/external/elfutils/src/
Dar.c498 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in do_oper_extract() local
500 if (strcmp (arhdr->ar_name, "/") == 0) in do_oper_extract()
503 index_size = arhdr->ar_size; in do_oper_extract()
506 if (strcmp (arhdr->ar_name, "//") == 0) in do_oper_extract()
511 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); in do_oper_extract()
512 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_extract()
520 entry.key = arhdr->ar_name; in do_oper_extract()
533 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract()
542 struct tm *tp = localtime (&arhdr->ar_date); in do_oper_extract()
552 (arhdr->ar_mode & S_IRUSR) ? 'r' : '-', in do_oper_extract()
[all …]
Dranlib.c182 Elf_Arhdr *arhdr = elf_getarhdr (elf); in handle_file() local
183 assert (arhdr != NULL); in handle_file()
186 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file()
189 index_size = arhdr->ar_size; in handle_file()
193 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
194 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()
Dnm.c440 Elf_Arhdr *arhdr = NULL; in handle_ar() local
450 || (arhdr = elf_getarhdr (subelf)) == NULL)) in handle_ar()
457 printf (_("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar()
475 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
478 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar()
479 && strcmp (arhdr->ar_name, "//") != 0 in handle_ar()
480 && strcmp (arhdr->ar_name, "/SYM64/") != 0) in handle_ar()
483 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
486 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
491 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dobjdump.c314 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
317 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar()
318 && strcmp (arhdr->ar_name, "//") != 0) in handle_ar()
321 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar()
324 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
329 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dsize.c363 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
366 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar()
368 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
Dstrip.c2739 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
2742 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar()
2744 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
Delflint.c274 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in process_file() local
275 assert (arhdr != NULL); in process_file()
278 arhdr->ar_name, arhdr->ar_size, false); in process_file()
/external/elfutils/tests/
Darls.c79 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle() local
80 if (arhdr == NULL) in handle()
100 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid, in handle()
101 (int) arhdr->ar_gid, in handle()
102 (int) arhdr->ar_mode, (long long int) arhdr->ar_size); in handle()
Dsaridx.c150 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in main() local
152 if (arhdr == NULL) in main()
174 t = arhdr->ar_date; in main()
183 arhdr->ar_name, in main()
185 (long int) arhdr->ar_uid, in main()
186 (long int) arhdr->ar_gid, in main()
187 arhdr->ar_mode, in main()
188 (long int) arhdr->ar_size, in main()
189 arhdr->ar_rawname); in main()
Darsymtest.c88 Elf_Arhdr *arhdr; in main() local
105 arhdr = elf_getarhdr (subelf); in main()
106 if (arhdr == NULL) in main()
114 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); in main()
Darextract.c75 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in main() local
77 if (arhdr == NULL) in main()
83 if (strcmp (arhdr->ar_name, argv[2]) == 0) in main()
106 todo = arhdr->ar_size; in main()