diff options
author | Jiong Wang <jiong.wang@arm.com> | 2014-06-17 10:06:00 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2014-06-17 10:12:52 +0100 |
commit | c8de034b6ae75f0b23d45d15c927daac61c33a3c (patch) | |
tree | 129ab723ca548293770805551168784fad982e7e /gas/config/tc-arm.c | |
parent | dfac1fa730b83b4f4e42d1fff5778e7127297f76 (diff) | |
download | gdb-c8de034b6ae75f0b23d45d15c927daac61c33a3c.zip gdb-c8de034b6ae75f0b23d45d15c927daac61c33a3c.tar.gz gdb-c8de034b6ae75f0b23d45d15c927daac61c33a3c.tar.bz2 |
gas/ARM: Misses deprecated IT instruction warning for ARMv8
Add sp increment and decrement to ARMv8 IT block deprecate
pattern.
gas/
* config/tc-arm.c (depr_it_insns): New check for inc/dec sp.
gas/testsuite/
* gas/arm/armv8-a-it-bad.s: New check for inc/dec sp.
* gas/arm/armv8-a-it-bad.l: Likewise.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r-- | gas/config/tc-arm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index fc86db4..ce0532b 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -17266,6 +17266,9 @@ static const struct depr_insn_mask depr_it_insns[] = { { 0x4800, 0xf800, N_("Literal loads") }, { 0x4478, 0xf478, N_("Hi-register ADD, MOV, CMP, BX, BLX using pc") }, { 0x4487, 0xfc87, N_("Hi-register ADD, MOV, CMP using pc") }, + /* NOTE: 0x00dd is not the real encoding, instead, it is the 'tvalue' + field in asm_opcode. 'tvalue' is used at the stage this check happen. */ + { 0x00dd, 0x7fff, N_("ADD/SUB sp, sp #imm") }, { 0, 0, NULL } }; |