diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2011-02-28 18:36:14 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2011-02-28 18:36:14 +0000 |
commit | aee9ba6f903510a47ea5e0bd524806f366dfd82a (patch) | |
tree | 665091a34d312a125fd06cc01f2a54b2eb55b25d /gprof/basic_blocks.c | |
parent | 426278217bb00a4eb13f360b408fae9368f3a3af (diff) | |
download | binutils-aee9ba6f903510a47ea5e0bd524806f366dfd82a.zip binutils-aee9ba6f903510a47ea5e0bd524806f366dfd82a.tar.gz binutils-aee9ba6f903510a47ea5e0bd524806f366dfd82a.tar.bz2 |
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* basic_blocks.c (cmp_bb): Use filename_(n)cmp.
* cg_print.c (order_and_dump_functions_by_arcs): Likewise.
(cg_print_file_ordering): Likewise.
* corefile.c (read_function_mappings): Likewise.
(core_create_line_syms): Likewise.
Diffstat (limited to 'gprof/basic_blocks.c')
-rw-r--r-- | gprof/basic_blocks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c index 20dd7c3..3946cf294 100644 --- a/gprof/basic_blocks.c +++ b/gprof/basic_blocks.c @@ -24,6 +24,7 @@ #include "gprof.h" #include "libiberty.h" +#include "filenames.h" #include "basic_blocks.h" #include "corefile.h" #include "gmon_io.h" @@ -61,7 +62,7 @@ cmp_bb (const PTR lp, const PTR rp) if (left->file && right->file) { - r = strcmp (left->file->name, right->file->name); + r = filename_cmp (left->file->name, right->file->name); if (r) return r; |