linker segfaults after PR ld/15146 fix

Sandra Loosemore sandra@codesourcery.com
Tue Feb 19 03:24:00 GMT 2013


After this commit

http://sourceware.org/ml/binutils-cvs/2013-02/msg00128.html

I'm now seeing segfaults in plugin_notice while doing testing of (our 
local branch of) GCC 4.7 on arm-none-eabi....  basically all LTO tests 
are falling over.

Looks like it needs a null check on h->u.undef.abfd before dereferencing 
it, consistently with the change in the same patch to bfd/elflink.c.  WDYT?

-Sandra



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr15146.log
Type: text/x-log
Size: 151 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130219/a37e6b88/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr15146.patch
Type: text/x-patch
Size: 166 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130219/a37e6b88/attachment-0001.bin>


More information about the Binutils mailing list