commit | a734d906cc0e0d3f32705e67b72e7113c69890d6 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Mon Mar 06 10:42:22 2023 +1030 |
committer | Alan Modra <amodra@gmail.com> | Mon Mar 06 10:42:22 2023 +1030 |
tree | 81241663b72aceea2f6abf06f17761239c99608c | |
parent | ec95986dc23f3f3c55beb945516a0008a526e772 [diff] |
Correct objdump command line error handling bfd_nonfatal is used when a bfd error is to be printed. That's not the case for command line errors. * objdump.c (nonfatal): Rename to my_bfd_nonfatal. (main): Use non_fatal and call usage on unrecognized arg errors. Don't set exit_status when calling usage.