Lines Matching refs:output_fname
133 static const char *output_fname; variable
198 if ((output_fname != NULL || debug_fname != NULL) in main()
252 if (output_fname != NULL) in parse_opt()
257 output_fname = arg; in parse_opt()
331 int fd = open (fname, output_fname == NULL ? O_RDWR : O_RDONLY); in process_file()
357 Elf *elf = elf_begin (fd, output_fname == NULL ? ELF_C_RDWR : ELF_C_READ, in process_file()
370 if (unlikely (output_fname != NULL || debug_fname != NULL)) in process_file()
461 if (output_fname != NULL) in handle_elf()
463 fd = open (output_fname, O_RDWR | O_CREAT, mode); in handle_elf()
466 error (0, errno, gettext ("cannot open '%s'"), output_fname); in handle_elf()
535 if (output_fname != NULL) in handle_elf()
545 output_fname ?: fname, elf_errmsg (-1)); in handle_elf()
1051 output_fname ?: fname); in handle_elf()
2072 output_fname ?: fname, elf_errmsg (-1)); in handle_elf()
2096 output_fname ?: fname, elf_errmsg (-1)); in handle_elf()
2121 output_fname ?: fname); in handle_elf()
2141 output_fname ?: fname); in handle_elf()
2178 output_fname ?: fname, elf_errmsg (-1)); in handle_elf()
2203 output_fname ?: fname); in handle_elf()
2209 if (output_fname != NULL) in handle_elf()