Home | History | Annotate | Download | only in src

Lines Matching refs:fname

249 process_file (const char *fname)
252 printf ("processing: %s\n", fname);
327 fd = open (fname, O_RDONLY);
330 error (0, errno, "Couldn't open %s\n", fname);
338 fname, elf_errmsg (-1));
347 error (0, 0, "Cannot handle ar files: %s", fname);
349 error (0, 0, "Unknown file type: %s", fname);
356 error (0, errno, "Couldn't fstat %s", fname);
363 error (0, 0, "Couldn't get ehdr for %s: %s", fname, elf_errmsg (-1));
372 fname, elf_errmsg (-1));
380 fname, elf_errmsg (1));
386 error (0, 0, "ELF file %s has no sections", fname);
540 size_t fname_len = strlen (fname);
542 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX");
1247 if (rename (fnew, fname) != 0)
1249 error (0, errno, "Couldn't rename %s to %s", fnew, fname);