gas: improve architecture mismatch diagnostics in sparc
authorJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 14 Sep 2016 14:15:24 +0000 (07:15 -0700)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 14 Sep 2016 14:15:24 +0000 (07:15 -0700)
commitfc7514d6f2784390b7e6c65c0c9603ede0203f58
treee95a4289fecf45d748566f555fc1e03ff0f29455
parent46a2d504dd875caf60f9be191a55c9ff676bcd5c
gas: improve architecture mismatch diagnostics in sparc

Merely dumping the mnemonic name in "architecture mismatch" errors may
not provide enough information to determine what went wrong, as the same
mnemonic can be used for different variants of an instruction pertaining
to different architecture levels.

This little patch makes the assembler to include the instruction
arguments in the error message.

gas/ChangeLog:

2016-09-14  Jose E. Marchesi  <jose.marchesi@oracle.com>

* config/tc-sparc.c (sparc_ip): Print the instruction arguments
in "architecture mismatch" error messages.
gas/ChangeLog
gas/config/tc-sparc.c
This page took 0.024058 seconds and 4 git commands to generate.