Lines Matching refs:debug_fname

128 static const char *debug_fname;  variable
179 if (reloc_debug && debug_fname == NULL) in main()
193 if ((output_fname != NULL || debug_fname != NULL) in main()
229 if (debug_fname != NULL) in parse_opt()
234 debug_fname = arg; in parse_opt()
365 if (unlikely (output_fname != NULL || debug_fname != NULL)) in process_file()
475 if (debug_fname != NULL) in handle_elf()
480 size_t debug_fname_len = strlen (debug_fname); in handle_elf()
482 strcpy (mempcpy (tmp_debug_fname, debug_fname, debug_fname_len), in handle_elf()
488 error (0, errno, gettext ("cannot open '%s'"), debug_fname); in handle_elf()
539 if (debug_fname != NULL) in handle_elf()
548 debug_fname, elf_errmsg (-1)); in handle_elf()
784 if (debug_fname != NULL in handle_elf()
892 if (debug_fname != NULL in handle_elf()
928 if (debug_fname != NULL) in handle_elf()
998 debug_fname, elf_errmsg (-1)); in handle_elf()
1039 if (debug_fname != NULL && !remove_shdrs) in handle_elf()
1071 char *debug_basename = basename (debug_fname_embed ?: debug_fname); in handle_elf()
1320 else if (debug_fname == NULL in handle_elf()
1392 if (shdr_info[cnt].idx == 0 && debug_fname == NULL) in handle_elf()
1657 if (debug_fname != NULL && reloc_debug && ehdr->e_type == ET_REL) in handle_elf()
1869 if (debug_fname != NULL) in handle_elf()
1875 debug_fname, elf_errmsg (-1)); in handle_elf()
1882 if (rename (tmp_debug_fname, debug_fname) != 0 in handle_elf()
1885 error (0, errno, gettext ("while creating '%s'"), debug_fname); in handle_elf()
1909 unlink (debug_fname); in handle_elf()
2073 error (0, 0, gettext ("error while finishing '%s': %s"), debug_fname, in handle_elf()