Ensure ARM VPUSH and VPOP instructions do not affect more than 16 registers.
authorNick Clifton <nickc@redhat.com>
Fri, 5 Aug 2016 10:26:13 +0000 (11:26 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 5 Aug 2016 10:26:13 +0000 (11:26 +0100)
commitb126985ec3f922f86a9fa164cc0f443b1aa9e0bb
tree18b9709cb079ed3885e3eedfaeedd8c473286085
parent7ea12e5c3ad54da440c08f32da09534e63e515ca
Ensure ARM VPUSH and VPOP instructions do not affect more than 16 registers.

PR gas/20429
* config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
registers are pushed.
(do_vfp_nsyn_pop): Check that no more than 16 registers are
popped.
* testsuite/gas/arm/pr20429.s: New test.
* testsuite/gas/arm/pr20429.d: New test driver.
* testsuite/gas/arm/pr20429.1: Expected error output.
gas/ChangeLog
gas/config/tc-arm.c
gas/config/tc-xgate.c
gas/testsuite/gas/arm/pr20429.d [new file with mode: 0644]
gas/testsuite/gas/arm/pr20429.l [new file with mode: 0644]
gas/testsuite/gas/arm/pr20429.s [new file with mode: 0644]