aboutsummaryrefslogtreecommitdiff
path: root/gas/remap.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2011-02-28 18:32:52 +0000
committerKai Tietz <kai.tietz@onevision.com>2011-02-28 18:32:52 +0000
commit8b6efd89a4135971b748c958a852d093b3d79d3d (patch)
tree0aaae284e884b627bb059825c1b55590cc1327c9 /gas/remap.c
parentc05202a107c40a2e1efb1739b7dc2cfaf3b0ed9b (diff)
downloadgdb-8b6efd89a4135971b748c958a852d093b3d79d3d.zip
gdb-8b6efd89a4135971b748c958a852d093b3d79d3d.tar.gz
gdb-8b6efd89a4135971b748c958a852d093b3d79d3d.tar.bz2
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.
Diffstat (limited to 'gas/remap.c')
-rw-r--r--gas/remap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/remap.c b/gas/remap.c
index b334b2c..0c863fb 100644
--- a/gas/remap.c
+++ b/gas/remap.c
@@ -19,6 +19,7 @@
02110-1301, USA. */
#include "as.h"
+#include "filenames.h"
/* Structure recording the mapping from source file and directory
names at compile time to those to be embedded in debug
@@ -76,7 +77,7 @@ remap_debug_filename (const char *filename)
size_t name_len;
for (map = debug_prefix_maps; map; map = map->next)
- if (strncmp (filename, map->old_prefix, map->old_len) == 0)
+ if (filename_ncmp (filename, map->old_prefix, map->old_len) == 0)
break;
if (!map)
return filename;