[PATCH] as: Reject unknown -gXXX option

Alan Modra amodra@gmail.com
Wed Apr 20 14:15:49 GMT 2022


On Sat, Apr 16, 2022 at 10:48:41AM -0700, H.J. Lu wrote:
> 	* 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.

The new test wasn't tested.  I'm reverting it.  There isn't much point
to this test anyway.

alpha-dec-vms  +FAIL: gas/all/pr29067
alpha-linux  +FAIL: gas/all/pr29067
alpha-linuxecoff  +FAIL: gas/all/pr29067
alpha-netbsd  +FAIL: gas/all/pr29067
alpha-unknown-freebsd4.7  +FAIL: gas/all/pr29067
hppa64-hp-hpux11.23  +ERROR: sed failure
hppa64-hp-hpux11.23  +ERROR: tcl error sourcing /home/alan/src/binutils-gdb/gas/testsuite/gas/all/gas.exp.
hppa64-hp-hpux11.23  +ERROR: can't read "comp_output": no such variable
hppa-hp-hpux10  +ERROR: sed failure
hppa-hp-hpux10  +ERROR: tcl error sourcing /home/alan/src/binutils-gdb/gas/testsuite/gas/all/gas.exp.
hppa-hp-hpux10  +ERROR: can't read "comp_output": no such variable
mips64el-openbsd  +FAIL: gas/all/pr29067
mips64-linux  +FAIL: gas/all/pr29067
mips64-openbsd  +FAIL: gas/all/pr29067
mipsel-linux-gnu  +FAIL: gas/all/pr29067
mipsisa32el-linux  +FAIL: gas/all/pr29067
mipsisa32r2el-elf  +FAIL: gas/all/pr29067
mips-linux  +FAIL: gas/all/pr29067
mips-sgi-irix6  +FAIL: gas/all/pr29067
mipstx39-elf  +FAIL: gas/all/pr29067
mips-vxworks  +FAIL: gas/all/pr29067

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list