aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-04-19 10:45:59 +0000
committerAlan Modra <amodra@gmail.com>2007-04-19 10:45:59 +0000
commit73705ac309d244b61d3b372d61e867c05d8ea2a8 (patch)
tree4c748ae7336d9ef5a84cc9360b9909a9b6072bc2 /ld/ldlang.c
parented180cc5dbf8d2fe7f3eb17215badc90a8a453a9 (diff)
downloadgdb-73705ac309d244b61d3b372d61e867c05d8ea2a8.zip
gdb-73705ac309d244b61d3b372d61e867c05d8ea2a8.tar.gz
gdb-73705ac309d244b61d3b372d61e867c05d8ea2a8.tar.bz2
* 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/ldlang.c')
-rw-r--r--ld/ldlang.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 297df20..369f654 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -5267,7 +5267,8 @@ lang_one_common (struct bfd_link_hash_entry *h, void *info)
header_printed = TRUE;
}
- name = demangle (h->root.string);
+ name = bfd_demangle (output_bfd, h->root.string,
+ DMGL_ANSI | DMGL_PARAMS);
minfo ("%s", name);
len = strlen (name);
free (name);