as: Reject unknown -gXXX option
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 16 Apr 2022 17:46:05 +0000 (10:46 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Apr 2022 17:35:41 +0000 (10:35 -0700)
commit6ea673e2d643b7b2283aa73d35b02dfc9aa7115f
treea702e60b51ff202f51e5e20a2fee00df4a629aae
parent531c82a1c724079f98a4b069584681bc66da4dae
as: Reject unknown -gXXX option

* as.c (parse_args): Reject unknown -gXXX option.
* testsuite/gas/all/empty.s: New file.
* testsuite/gas/all/pr29067.d: Likewise.
* testsuite/gas/all/pr29067.err: Likewise.
* testsuite/gas/all/gas.exp: Run pr29067.
gas/as.c
gas/testsuite/gas/all/empty.s [new file with mode: 0644]
gas/testsuite/gas/all/gas.exp
gas/testsuite/gas/all/pr29067.d [new file with mode: 0644]
gas/testsuite/gas/all/pr29067.err [new file with mode: 0644]