/external/elfutils/tests/ |
arls.c | 79 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 80 if (arhdr == NULL) 100 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid, 101 (int) arhdr->ar_gid, 102 (int) arhdr->ar_mode, (long long int) arhdr->ar_size);
|
saridx.c | 150 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 152 if (arhdr == NULL) 154 printf ("cannot get arhdr: %s\n", elf_errmsg (-1)); 174 t = arhdr->ar_date; 183 arhdr->ar_name, 185 (long int) arhdr->ar_uid, 186 (long int) arhdr->ar_gid, 187 arhdr->ar_mode, 188 (long int) arhdr->ar_size, 189 arhdr->ar_rawname) [all...] |
arextract.c | 75 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 77 if (arhdr == NULL) 79 printf ("cannot get arhdr: %s\n", elf_errmsg (-1)); 83 if (strcmp (arhdr->ar_name, argv[2]) == 0) 106 todo = arhdr->ar_size;
|
arsymtest.c | 88 Elf_Arhdr *arhdr; local 105 arhdr = elf_getarhdr (subelf); 106 if (arhdr == NULL) 114 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name);
|
/external/elfutils/src/ |
ar.c | 498 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 500 if (strcmp (arhdr->ar_name, "/") == 0) 503 index_size = arhdr->ar_size; 506 if (strcmp (arhdr->ar_name, "//") == 0) 511 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); 512 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) 520 entry.key = arhdr->ar_name; 533 printf ("\n<%s>\n\n", arhdr->ar_name); 542 struct tm *tp = localtime (&arhdr->ar_date); 552 (arhdr->ar_mode & S_IRUSR) ? 'r' : '-' 846 struct ar_hdr arhdr; local 940 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 1147 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 1362 Elf_Arhdr *arhdr; local 1453 struct ar_hdr arhdr; local [all...] |
ranlib.c | 182 Elf_Arhdr *arhdr = elf_getarhdr (elf); local 183 assert (arhdr != NULL); 186 if (strcmp (arhdr->ar_name, "/") == 0) 189 index_size = arhdr->ar_size; 193 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); 194 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1))
|
objdump.c | 314 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 317 if (strcmp (arhdr->ar_name, "/") != 0 318 && strcmp (arhdr->ar_name, "//") != 0) 321 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, 324 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, 329 new_prefix, arhdr->ar_name, new_suffix);
|
nm.c | 440 Elf_Arhdr *arhdr = NULL; local 450 || (arhdr = elf_getarhdr (subelf)) == NULL)) 457 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); 475 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 478 if (strcmp (arhdr->ar_name, "/") != 0 479 && strcmp (arhdr->ar_name, "//") != 0 480 && strcmp (arhdr->ar_name, "/SYM64/") != 0) 483 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 486 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, 491 new_prefix, arhdr->ar_name, new_suffix) [all...] |
size.c | 363 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 366 handle_elf (subelf, new_prefix, arhdr->ar_name); 368 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name);
|
strip.c | 2723 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local [all...] |
elflint.c | 274 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local 275 assert (arhdr != NULL); 278 arhdr->ar_name, arhdr->ar_size, false); [all...] |