K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-04-13T18:47:05.723140Z K 7 svn:log V 726 readelf: return error in case of invalid file GNU readelf exits with an error for a number of invalid file cases. Previously ELF Tool Chain readelf always exited with 0. Now we exit 1 upon detecting an error with one or more input files, but in any case all of them are processed. This should catch common failure cases. We still do not report an error for some types of malformed ELF files, but this is consistent with GNU readelf. PR: 252727 Reviewed by: jkoshy, markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29377 (cherry picked from commit ea444392bb5b351c930f28a02a4e68f51b25ba69) Git Hash: 14b0c8e7687e0f5917b4d272bd16a6816cab3d12 Git Author: emaste@FreeBSD.org END