From 7f67d4c98a7efc189145ba077f968ef626c9c748 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 18 Oct 2004 07:26:30 +0000 Subject: [PATCH] * budemang.c (demangle): Fix thinko. --- binutils/ChangeLog | 2 ++ binutils/budemang.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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, '@'); -- 2.30.2