PR25079, "ar s" stopped working
authorAlan Modra <amodra@gmail.com>
Tue, 8 Oct 2019 13:41:28 +0000 (00:11 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 8 Oct 2019 14:07:36 +0000 (00:37 +1030)
commit0bc183f81a0ba549972371e78536dbd29d1c4e5f
tree7a243fea57c0c2db11c74aa54fdeff1109e88b7f
parent977424c60ef73b2a051ccb9c1c3dbfedc520b0d9
PR25079, "ar s" stopped working

's' is both a command and a modifier.  If given as a command then we
aren't lacking an operation.  I think the same goes when mri mode is
selected: any following command line used to be ignored.

PR 25079
* ar.c (decode_options): Don't try for command options if
write_armap or mri_mode is selected.

(cherry picked from commit b7d9d3ee59236d6039d7d7ccd17ff6b47e07a8aa)
binutils/ChangeLog
binutils/ar.c