]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-arm.c
[GAS][ARM]Generate unpredictable warning for pc used in data processing instructions...
authorRenlin Li <renlin.li@arm.com>
Wed, 19 Oct 2016 10:18:56 +0000 (11:18 +0100)
committerRenlin Li <renlin.li@arm.com>
Wed, 19 Oct 2016 10:27:35 +0000 (11:27 +0100)
commit008a97eff0cabd416d18239eccd5267af6e965f3
tree6406986f43b1b34a0cfa6720c572ee71784c9893
parentbbb76b184f645ffc466baa1e5b3164d1e3febd93
[GAS][ARM]Generate unpredictable warning for pc used in data processing instructions with register-shifted register operand.

gas/

2016-10-19  Renlin Li  <renlin.li@arm.com>

* config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
for register-shifted register instructions.
* testsuite/gas/arm/shift-bad-pc.d: New.
* testsuite/gas/arm/shift-bad-pc.l: New.
* testsuite/gas/arm/shift-bad-pc.s: New.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/shift-bad-pc.d [new file with mode: 0644]
gas/testsuite/gas/arm/shift-bad-pc.l [new file with mode: 0644]
gas/testsuite/gas/arm/shift-bad-pc.s [new file with mode: 0644]