mips n32 bfd will corrupt relocation addends

Alexandre Oliva aoliva@redhat.com
Sun Jan 26 03:52:00 GMT 2003

On Jan  8, 2003, cgd@broadcom.com wrote:

> At Wed, 8 Jan 2003 21:38:23 +0000 (UTC), "Alexandre Oliva" wrote:
>> Hard to trigger, but with very disruptive results when it
>> does.  Here's a patch that gets it to take the section into account
>> when deciding whether two relocations are combined.

> Doesn't that scream for a testsuite entry?  8-)

Here it is.  Sorry about the long delay.  The test runs only on
mips*-*-linux* and *-*-irix6* because with other triplets we don't get
n32 support in bfd.  Ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips64n32-addend-mispreserve-testcase.patch
Type: text/x-patch
Size: 2150 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030126/627ab305/attachment.bin>
-------------- next part --------------

Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

More information about the Binutils mailing list