* 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)
commitdf7849c593594e81b635dfe06b488e333fc9b2ab
treed6aa3f4edd235c52e3ca6ded87f8f821f4382151
parent2d545b822e56d78c142866649b797aa7e831a661
* 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