ppc64 sym@tocbase testcase

Alexandre Oliva aoliva@redhat.com
Wed Sep 28 09:08:00 GMT 2005


Alan Modra's patch that introduced symbol@tocbase, at
<URL:http://sources.redhat.com/ml/binutils/2003-06/msg00633.html>, did
not contain a testcase, and it took me a while to figure out how to
trigger the bug, for reasons I'm too embarrassed to describe.

Ok, ok :-), it was because I had saved a copy of the ld-new wrapper
script as ld-broken, instead of the actual ld binary in .libs, but
even then, both used the same libbfd.so.  Doh!

Anyhow, I thought I'd contribute the testcase I came up with that
fails without Alan's patch, and works with it.  Ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-2.14.90.0.4-ppc64-sym-tocbase.patch
Type: text/x-patch
Size: 2585 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050928/20a27d99/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Binutils mailing list