[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-09-14 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2006-09-15 02:21 --- 020001030078 001a R_ALPHA_JMP_SLOT 0200010ca150 020001030080 011a unrecognized: 11a 0200010c9cb0 020001030088 0019 R_ALPHA_GLOB_DAT

Re: [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-09-01 Thread Nick Clifton
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

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-09-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-09-01 11:44 --- Created an attachment (id=1272) -- (http://sourceware.org/bugzilla/attachment.cgi?id=1272action=view) Check for a NULL value in rtype before using it. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3146

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-09-01 Thread nickc at redhat dot com
-- What|Removed |Added Status|NEW |WAITING http://sourceware.org/bugzilla/show_bug.cgi?id=3146 --- You are receiving this mail because:

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-08-31 15:54 --- Please provide a testcase such that I can see the problem on Linux/x86. -- What|Removed |Added

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread tomri at gmx dot net
--- Additional Comments From tomri at gmx dot net 2006-08-31 16:44 --- Oh yes, if you remove the if .. ALPHA.. with X86, you can see the problem too. Redhat supports glibc and binutils, so only for x86? -- http://sourceware.org/bugzilla/show_bug.cgi?id=3146 --- You are receiving

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread tomri at gmx dot net
--- Additional Comments From tomri at gmx dot net 2006-08-31 17:20 --- Well, feel free to take a look at the patch. If you haven't an alpha system, than you haven't the problem. This is a BUG in the source code from readelf, not from the input to readelf. --

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-08-31 17:25 --- I have built cross binutils for Linux/alpha. Readelf doesn't fail because of NULL pointer reference. I want to see how it fails in gdb. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3146 --- You are

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread tomri at gmx dot net
--- Additional Comments From tomri at gmx dot net 2006-08-31 17:34 --- Above the code line (see patch) there's a test for if rtype == NULL, and below this test, thereĀ“s a code sequnce using this NULL pointer. So you can test this, by setting rtype == NULL above the lines from the patch.

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread hjl at lucon dot org
-- What|Removed |Added CC|hjl at lucon dot org| http://sourceware.org/bugzilla/show_bug.cgi?id=3146 --- You are receiving this mail because: ---

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-29 Thread tomri at gmx dot net
--- Additional Comments From tomri at gmx dot net 2006-08-29 15:00 --- Created an attachment (id=1262) -- (http://sourceware.org/bugzilla/attachment.cgi?id=1262action=view) patch for BUG This patch works for me. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3146 --- You