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>
Mon, 30 Sep 2019 04:48:14 +0000 (14:18 +0930)
commit663f67df1e8a7ac0ab8c8c577817067ca32ea4be
treed6f6e970037315da2c469c432a4c3af1b794ab97
parent0925bc84413319be2465347e52bdc5fd1827b8bf
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.
binutils/ChangeLog
binutils/readelf.c