PR25046, readelf "Reading xxx bytes extends past end of file for dynamic section"
authorAlan Modra <amodra@gmail.com>
Mon, 30 Sep 2019 04:34:08 +0000 (14:04 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 8 Oct 2019 14:00:52 +0000 (00:30 +1030)
commit7cb2dcb804d0af6b5fa9981907bc1f097730ac1b
tree974799882b04e75e226fcc17dc66f8759236f55c
parent443adfa40984bede981c883b6efcaf493ba77957
PR25046, readelf "Reading xxx bytes extends past end of file for dynamic section"

PR 25046
* readelf.c (process_program_headers): Clear dynamic_addr and
dynamic_size earlier.

(cherry picked from commit 663f67df1e8a7ac0ab8c8c577817067ca32ea4be)
binutils/ChangeLog
binutils/readelf.c