Home
last modified time | relevance | path

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

/external/elfutils/0.153/src/
Dar.c524 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in do_oper_extract() local
526 if (strcmp (arhdr->ar_name, "/") == 0) in do_oper_extract()
529 index_size = arhdr->ar_size; in do_oper_extract()
532 if (strcmp (arhdr->ar_name, "//") == 0) in do_oper_extract()
537 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); in do_oper_extract()
538 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_extract()
546 entry.key = arhdr->ar_name; in do_oper_extract()
559 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract()
569 localtime (&arhdr->ar_date)); in do_oper_extract()
572 (arhdr->ar_mode & S_IRUSR) ? 'r' : '-', in do_oper_extract()
[all …]
Dranlib.c210 Elf_Arhdr *arhdr = elf_getarhdr (elf); in handle_file() local
211 assert (arhdr != NULL); in handle_file()
214 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file()
217 index_size = arhdr->ar_size; in handle_file()
221 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
222 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()
Dobjdump.c338 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
341 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar()
342 && strcmp (arhdr->ar_name, "//") != 0) in handle_ar()
345 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar()
348 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
353 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dnm.c465 Elf_Arhdr *arhdr = NULL; in handle_ar() local
475 || (arhdr = elf_getarhdr (subelf)) == NULL)) in handle_ar()
482 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar()
500 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
503 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar()
504 && strcmp (arhdr->ar_name, "//") != 0) in handle_ar()
507 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar()
510 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
515 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dsize.c392 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
395 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar()
397 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
Dldgeneric.c1834 Elf_Arhdr *arhdr = elf_getarhdr (arelf); in add_whole_archive() local
1837 if (arhdr == NULL) in add_whole_archive()
1842 assert (strcmp (arhdr->ar_name, "/") != 0); in add_whole_archive()
1843 assert (strcmp (arhdr->ar_name, "//") != 0); in add_whole_archive()
1845 newp = ld_new_inputfile (arhdr->ar_name, relocatable_file_type); in add_whole_archive()
1925 Elf_Arhdr *arhdr; in extract_from_archive() local
1937 arhdr = elf_getarhdr (arelf); in extract_from_archive()
1938 if (arhdr == NULL) in extract_from_archive()
1945 arhdr->ar_name), in extract_from_archive()
Dstrip.c2108 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local
2111 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar()
2113 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
Delflint.c292 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in process_file() local
293 assert (arhdr != NULL); in process_file()
296 arhdr->ar_name, arhdr->ar_size, false); in process_file()