mips n32 bfd will corrupt relocation addends
Alexandre Oliva
aoliva@redhat.com
Wed Jan 8 21:38:00 GMT 2003
More information about the Binutils mailing list
Wed Jan 8 21:38:00 GMT 2003
- Previous message (by thread): Questions regarding m68k dynamic/shared code
- Next message (by thread): mips n32 bfd will corrupt relocation addends
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The trick to carry addends over to combined relocations fails when two consecutive relocations happen to have the same offset into different sections. 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. While at that, I noticed that we had references to reloc_entry in the macro that took entry as an argument. Oops. Also fixed. Ok to install? -------------- next part -------------- A non-text attachment was scrubbed... Name: mips64n32-addend-mispreserve.patch Type: text/x-patch Size: 2736 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20030108/4707d2cb/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
- Previous message (by thread): Questions regarding m68k dynamic/shared code
- Next message (by thread): mips n32 bfd will corrupt relocation addends
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list