mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
ChangeLog binutils/
2011-02-28 Kai Tietz <kai.tietz@onevision.com> * debug.c (debug_start_source): Use filename_(n)cmp. * ieee.c (ieee_finish_compilation_unit): Likewise. (ieee_lineno): Likewise. * nlmconv.c (main): Likewise. * objcopy.c (strip_main): Likewise. (copy_main): Likewise. * objdump.c (show_line): Likewise. (dump_reloc_set): Likewise. * srconv.c (main): Likewise. * wrstabs.c (stab_lineno): Likewise. ChangeLog gas/ 2011-02-28 Kai Tietz <kai.tietz@onevision.com> * depend.c (register_dependency): Use filename_(n)cmp. * dwarf2dbg.c (get_filenum): Likewise. * ecoff.c (add_file): Likewise. (ecoff_generate_asm_lineno): Likewise. * input-scrub.c (new_logical_line_flags): Likewise. * listing.c (file_info): Likewise. (listing_newline): Likewise. * remap.c (remap_debug_filename): Likewise. * stabs.c (generate_asm_file): Likewise. (stabs_generate_asm_lineno): Likewise.
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "sysroff.h"
|
||||
#include "coffgrok.h"
|
||||
#include "libiberty.h"
|
||||
#include "filenames.h"
|
||||
#include "getopt.h"
|
||||
|
||||
#include "coff/internal.h"
|
||||
@@ -1818,7 +1819,7 @@ main (int ac, char **av)
|
||||
++optind;
|
||||
if (optind < ac)
|
||||
show_usage (stderr, 1);
|
||||
if (strcmp (input_file, output_file) == 0)
|
||||
if (filename_cmp (input_file, output_file) == 0)
|
||||
{
|
||||
fatal (_("input and output files must be different"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user