Home
last modified time | relevance | path

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

/external/elfutils/src/
Dar.c496 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in do_oper_extract() local
498 if (strcmp (arhdr->ar_name, "/") == 0) in do_oper_extract()
501 index_size = arhdr->ar_size; in do_oper_extract()
504 if (strcmp (arhdr->ar_name, "//") == 0) in do_oper_extract()
509 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); in do_oper_extract()
510 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_extract()
518 entry.key = arhdr->ar_name; in do_oper_extract()
531 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract()
540 struct tm *tp = localtime (&arhdr->ar_date); in do_oper_extract()
550 (arhdr->ar_mode & S_IRUSR) ? 'r' : '-', in do_oper_extract()
[all …]
Dranlib.c181 Elf_Arhdr *arhdr = elf_getarhdr (elf); in handle_file() local
182 assert (arhdr != NULL); in handle_file()
185 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file()
188 index_size = arhdr->ar_size; in handle_file()
192 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
193 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()
Dnm.c439 Elf_Arhdr *arhdr = NULL; in handle_ar() local
449 || (arhdr = elf_getarhdr (subelf)) == NULL)) in handle_ar()
456 printf (_("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar()
474 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
477 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar()
478 && strcmp (arhdr->ar_name, "//") != 0 in handle_ar()
479 && strcmp (arhdr->ar_name, "/SYM64/") != 0) in handle_ar()
482 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
485 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
490 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dobjdump.c313 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
316 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar()
317 && strcmp (arhdr->ar_name, "//") != 0) in handle_ar()
320 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar()
323 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
328 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dsize.c362 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
365 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar()
367 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
Dstrip.c2742 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
2745 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar()
2747 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
Delflint.c273 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in process_file() local
274 assert (arhdr != NULL); in process_file()
277 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()