aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-08-03 09:50:43 +0000
committerNick Clifton <nickc@redhat.com>2005-08-03 09:50:43 +0000
commitf2184508ddc02259748ca1bd0363a6452ac6b564 (patch)
tree05545548ba3b8161118ab0c0622712be1a775312 /gas/config/tc-arm.c
parent9f4fb50211b7f57d241f911223874a1d16ae9c1a (diff)
downloadbinutils-f2184508ddc02259748ca1bd0363a6452ac6b564.zip
binutils-f2184508ddc02259748ca1bd0363a6452ac6b564.tar.gz
binutils-f2184508ddc02259748ca1bd0363a6452ac6b564.tar.bz2
config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range for WLDRD/WSTRD
instruction. gas/arm/iwmmxt-bad2.s: New file: Check for error messages about erroneous offsets in iwmmxt instructions. Cannot be part of iwmmxt-bad.s because the errors there stop the assembler before it gets to check the offsets in instructions. gas/arm/iwmmxt-bad2.d: New file. gas/arm/iwmmxt-bad2.l: New file: Expected error messages. gas/arm/iwmmxt.s: Change the offset values of the WLDRD, WSTRD and WSTRW instructions to be larger than +/-255. gas/arm/iwmmxt.d: Fix the expected results for these instructions.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 754bc4c..4033836 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -5516,7 +5516,7 @@ static void
do_iwmmxt_wldstd (void)
{
inst.instruction |= inst.operands[0].reg << 12;
- encode_arm_cp_address (1, TRUE, FALSE, BFD_RELOC_ARM_CP_OFF_IMM_S2);
+ encode_arm_cp_address (1, TRUE, FALSE, 0);
}
static void