aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2011-02-28 18:34:52 +0000
committerKai Tietz <kai.tietz@onevision.com>2011-02-28 18:34:52 +0000
commit426278217bb00a4eb13f360b408fae9368f3a3af (patch)
treeac8da852b38f21121ea96de78d48e623329498fd /ld/ldfile.c
parent8b6efd89a4135971b748c958a852d093b3d79d3d (diff)
downloadgdb-426278217bb00a4eb13f360b408fae9368f3a3af.zip
gdb-426278217bb00a4eb13f360b408fae9368f3a3af.tar.gz
gdb-426278217bb00a4eb13f360b408fae9368f3a3af.tar.bz2
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): Likewise. (gld${EMULATION_NAME}_stat_needed): Likewise. (gld${EMULATION_NAME}_check_needed): Likewise. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. (gld_${EMULATION_NAME}_unrecognized_file): Likewise. * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. (gld_${EMULATION_NAME}_unrecognized_file): Likewise. * ldfile.c (ldfile_open_file): Likewise. * ldlang.c (wild_sort): Likewise. (lookup_name): Likewise. (check_excluded_libs): Likewise. * ldmisc.c (vfinfo): Likewise. * pe-dll.c (libnamencmp): Likewise. (auto_export): Likewise. (pe_dll_generate_implib): Likewise. * testplug.c (onclaim_file): Likewise.
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 a9a6954..5bbe1d8 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