]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-sparc.c
opcodes,gas: associate SPARC ASIs with an architecture level.
authorSheldon Lobo <sheldon.lobo@oracle.com>
Thu, 23 Feb 2017 15:49:37 +0000 (07:49 -0800)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Thu, 23 Feb 2017 15:53:16 +0000 (07:53 -0800)
commit1e9d41d49f7f0b9e7381e8bf8ce848f8a33b8fde
treec8858a8766718c47ed5e890c67434e499bb04278
parent8eaf53202ea60191162d5f1069cd08ebd9f38f6c
opcodes,gas: associate SPARC ASIs with an architecture level.

With this change an architecture level bump due to assembly ASIs will show
up as a warning/error depending on options passed to gas.

Tested with sparc64-linux-gnu, and it does not introduce any regressions.

gas/ChangeLog:

Add support for associating SPARC ASIs with an architecture level.
* config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.

opcodes/ChangeLog:

Add support for associating SPARC ASIs with an architecture level.
* include/opcode/sparc.h (sparc_asi): New sparc_asi struct.
* opcodes/sparc-opc.c (asi_table): Updated asi_table and encoding/
decoding of SPARC ASIs.
gas/ChangeLog
gas/config/tc-sparc.c
include/opcode/sparc.h
opcodes/ChangeLog
opcodes/sparc-opc.c