From: Alan Modra Date: Mon, 18 Oct 2004 07:26:30 +0000 (+0000) Subject: * budemang.c (demangle): Fix thinko. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f67d4c98a7efc189145ba077f968ef626c9c748;p=binutils-gdb.git * budemang.c (demangle): Fix thinko. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7ba39bee782..50cc69b0f2e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,7 @@ 2004-10-18 Alan Modra + * budemang.c (demangle): Fix thinko. + * budemang.c (demangle): Handle "@plt" suffix. 2004-10-14 Nick Clifton diff --git a/binutils/budemang.c b/binutils/budemang.c index c992570c3a8..bd500834044 100644 --- a/binutils/budemang.c +++ b/binutils/budemang.c @@ -52,7 +52,7 @@ demangle (bfd *abfd, const char *name) pre = name; while (*name == '.') ++name; - pre_len = pre - name; + pre_len = name - pre; alloc = NULL; suf = strchr (name, '@');