Re: [PATCH] readelf: Change some errors to warnings
Alan Modra <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Aug 09, 2026 at 08:25:01AM +0800, H.J. Lu wrote: > Change readelf to return error if there are errors in inputs. Why? Do you want to implement a silent readelf mode where it validates an ELF input, returning validity via exit status? If so, then why say that bad leb128 values are OK? The patch doesn't make sense. readelf non-zero exit status is currently for cases where readelf can't process the file for some reason. -- Alan Modra