|Subject:||Re: [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer|
|Date:||Fri, 01 Sep 2006 12:43:38 +0100|
|User-agent:||Thunderbird 188.8.131.52 (X11/20060516)|
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.
|[Prev in Thread]||Current Thread||[Next in Thread]|