diff options
author | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2012-08-24 07:58:02 +0000 |
---|---|---|
committer | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2012-08-24 07:58:02 +0000 |
commit | 12e37cbc4b33576711d4e4742c691652fdf5bea7 (patch) | |
tree | f8403411972727c7f7227976095dbdc2d9360fd2 /gas/config/tc-arm.c | |
parent | 5a01bb1d0f18ec1738106460009f622617c4a19c (diff) | |
download | gdb-12e37cbc4b33576711d4e4742c691652fdf5bea7.zip gdb-12e37cbc4b33576711d4e4742c691652fdf5bea7.tar.gz gdb-12e37cbc4b33576711d4e4742c691652fdf5bea7.tar.bz2 |
* gas/config/tc-arm.c (do_setend): Warn on deprecated SETEND.
(do_t_setend): Likewise.
* gas/testsuite/gas/arm/armv8-a-bad.l: Update
* gas/testsuite/gas/arm/armv8-a-bad.s: Likewise.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r-- | gas/config/tc-arm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index d9cf3d3..8f2f88b 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -8528,6 +8528,10 @@ do_usat16 (void) static void do_setend (void) { + if (warn_on_deprecated + && ARM_CPU_HAS_FEATURE (cpu_variant, arm_ext_v8)) + as_warn (_("setend use is deprecated for ARMv8")); + if (inst.operands[0].imm) inst.instruction |= 0x200; } @@ -11769,6 +11773,10 @@ do_t_rsb (void) static void do_t_setend (void) { + if (warn_on_deprecated + && ARM_CPU_HAS_FEATURE (cpu_variant, arm_ext_v8)) + as_warn (_("setend use is deprecated for ARMv8")); + set_it_insn_type (OUTSIDE_IT_INSN); if (inst.operands[0].imm) inst.instruction |= 0x8; |