PR 10169
authorNick Clifton <nickc@redhat.com>
Thu, 18 Jun 2009 16:36:05 +0000 (16:36 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Jun 2009 16:36:05 +0000 (16:36 +0000)
commit3a21c15a776c549411131dbb9f26d4e0f9b87d57
treeab7aaa3dedcc05125fc05e15f786c28b140a2df4
parentc2e61a4e9360e392834047c62d7ef60eb2d77a40
    PR 10169
        * gas/tc-arm.c (do_t_ssat): Move common code from here...
        (do_t_usat): ... and here to...
        (do_t_ssat_usat): New function: ... here.  Add code to check that
        the shift value, if present, is in range.

        * gas/arm/thumb2_bad_reg.s: Add tests for SSAT and USAT with an
        out of range shift.
        * gas/arm/thumb2_bad_reg.l: Update expected error messages.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/thumb2_bad_reg.l
gas/testsuite/gas/arm/thumb2_bad_reg.s