diff options
author | Alan Modra <amodra@bigpond.net.au> | 2007-04-19 10:45:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2007-04-19 10:45:59 +0000 |
commit | 44053f0f8ad4bce9fa32a0ce080a302f09e4bd99 (patch) | |
tree | a5f036d5fbd92ff31e10579e601da158b5cdae52 /ld/ldcref.c | |
parent | 02c77b72047a3ecb5a94c516333174dc93a7a3d3 (diff) | |
download | binutils-redhat-44053f0f8ad4bce9fa32a0ce080a302f09e4bd99.tar.gz |
* ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
* ldlang.c (lang_one_common): Likewise.
* ldmisc.c (vfinfo): Likewise.
(demangle): Delete.
* ldmisc.h (demangle): Delete.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
Diffstat (limited to 'ld/ldcref.c')
-rw-r--r-- | ld/ldcref.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ldcref.c b/ld/ldcref.c index e016451680..3c0763b5a0 100644 --- a/ld/ldcref.c +++ b/ld/ldcref.c @@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. #include "sysdep.h" #include "bfdlink.h" #include "libiberty.h" +#include "demangle.h" #include "objalloc.h" #include "ld.h" @@ -324,7 +325,8 @@ cref_fill_array (struct cref_hash_entry *h, void *data) struct cref_hash_entry ***pph = data; ASSERT (h->demangled == NULL); - h->demangled = demangle (h->root.string); + h->demangled = bfd_demangle (output_bfd, h->root.string, + DMGL_ANSI | DMGL_PARAMS); **pph = h; |