size: Handle recursive ELF ar files.
authorMark Wielaard <mark@klomp.org>
Thu, 18 Oct 2018 21:15:48 +0000 (23:15 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 19 Oct 2018 22:13:10 +0000 (00:13 +0200)
commit22d2d082d57a7470fadc0eae67179553f4919209
tree86d8f8eb2149ce29378168405a2a45caaa38e7e3
parent2b16a9be69939822dcafe075413468daac98b327
size: Handle recursive ELF ar files.

eu-size didn't handle an ELF ar file that contained an ar file itself
correctly. handle_ar would recursively call itself but close the ELF
file before returning. Only close the ELF file at the top-level.

https://sourceware.org/bugzilla/show_bug.cgi?id=23787

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/size.c