diff options
Diffstat (limited to 'gas/remap.c')
-rw-r--r-- | gas/remap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/remap.c b/gas/remap.c index b334b2c6e2d..0c863fb10d0 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; |