Fixes part of a problem reading deliberately non-conforming ELF binaries - where a
authorNick Clifton <nickc@redhat.com>
Thu, 26 Jun 2014 08:32:25 +0000 (09:32 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 26 Jun 2014 08:34:24 +0000 (09:34 +0100)
commitdf565f326e62eacf41fb880f1acc65b9fdb5052c
tree90b29ab456d2c6f81e90b51bad06c268e86ffb40
parentefc889c1a86826b6619485bf379467daaea1ad3e
Fixes part of a problem reading deliberately non-conforming ELF binaries - where a
note segment is present but no note section.

* readelf.c (process_note_sections): If there are no note sections
try processing note segments instead.
binutils/ChangeLog
binutils/readelf.c