diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 2 | ||||
-rw-r--r-- | binutils/budemang.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7ba39be..50cc69b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,7 @@ 2004-10-18 Alan Modra <amodra@bigpond.net.au> + * budemang.c (demangle): Fix thinko. + * budemang.c (demangle): Handle "@plt" suffix. 2004-10-14 Nick Clifton <nickc@redhat.com> diff --git a/binutils/budemang.c b/binutils/budemang.c index c992570..bd50083 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, '@'); |