- -x foo currently dumps one foo. This change makes it dump all foo.
- -x foo -x foo currently dumps foo twice. This change makes it dump foo once. In addition, if foo has section index 9, -x foo -x 9 dumps foo once.
- Give a warning instead of an error if foo does not exist.
The new behaviors match GNU readelf.
Also, print a new line as a separator between two section dumps.
GNU readelf uses two lines, but one seems good enough.
Nit: I'd find it slightly easier to read if this had a blank line after.