OSDN Git Service

* config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
authorJoseph Myers <joseph@codesourcery.com>
Tue, 2 May 2006 14:42:30 +0000 (14:42 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 2 May 2006 14:42:30 +0000 (14:42 +0000)
commit43e1d6b987df72c39d57bd20dc0190b1c1f6bb3f
tree25c4ce6061735fed690aa7c7f9517f440aad3bc7
parenta1cbd93f3c101242f43d49cbb214542f9a686f01
* config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
here.
(md_apply_fix3): Multiply offset by 4 here for
BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.

testsuite:
* gas/arm/iwmmxt.s: Increase offsets for wstrb and wstrh.
* gas/arm/iwmmxt.d: Update expected results.
* gas/arm/iwmmxt-bad2.s: Test wstrb, wstrh, wldrb and wldrh.
* gas/arm/iwmmxt-bad2.l: Update expected error messages.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/iwmmxt-bad2.l
gas/testsuite/gas/arm/iwmmxt-bad2.s
gas/testsuite/gas/arm/iwmmxt.d
gas/testsuite/gas/arm/iwmmxt.s