This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc and -fPIC


OK, looks good.

Thank you for the fast response!!!

Ciao,
Gerhard

On Mon, 18 Oct 2004, Alan Modra wrote:

On Mon, Oct 18, 2004 at 04:39:33PM +0930, Alan Modra wrote:
* budemang.c (demangle): Handle "@plt" suffix.

Test first, then commit. Test first, ...


* budemang.c (demangle): Fix thinko.

Index: binutils/budemang.c
===================================================================
RCS file: /cvs/src/src/binutils/budemang.c,v
retrieving revision 1.5
diff -u -p -r1.5 budemang.c
--- binutils/budemang.c	18 Oct 2004 07:08:52 -0000	1.5
+++ binutils/budemang.c	18 Oct 2004 07:25:05 -0000
@@ -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, '@');

--
Alan Modra
IBM OzLabs - Linux Technology Centre



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]