Hi Tom,
I believe that H.J.'s point is that the problem can only arise if the
ALPHA-targeted binary file contains a reloc that is not known to
binutils. Therefore it is in our interests to discover what this reloc
is and find out whether we should be supporting it, or at least
recognizing it in readelf.
So, please could you supply a binary file that triggers this bug ?
Then we can investigate it further.
In the meantime I have applied a variant of your patch, since it is
always good programming practice to check for NULL pointers before
performing an indirection. This version of the patch (uploaded to the
testcase) includes a second check for a NULL rtype further on in the
dump_relocations function.
Cheers
Nick
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils