summaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r--ld/ldfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c
index a9a69544d3..5bbe1d8447 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -443,7 +443,7 @@ ldfile_open_file (lang_input_statement_type *entry)
if (ldfile_try_open_bfd (entry->filename, entry))
return;
- if (strcmp (entry->filename, entry->local_sym_name) != 0)
+ if (filename_cmp (entry->filename, entry->local_sym_name) != 0)
einfo (_("%P: cannot find %s (%s): %E\n"),
entry->filename, entry->local_sym_name);
else