diff options
author | Nick Clifton <nickc@redhat.com> | 2013-01-15 08:45:40 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-01-15 08:45:40 +0000 |
commit | 6ebff3867161b8f3a116db0e1530df0047a87c73 (patch) | |
tree | c4225f614995feaee94677e590310a70257b542b /opcodes/v850-opc.c | |
parent | 311846847fac774244962adc1c112441b69423d2 (diff) | |
download | binutils-redhat-6ebff3867161b8f3a116db0e1530df0047a87c73.tar.gz |
* config/tc-v850.c (md_assemble): Allow signed values for
V850E_IMMEDIATE.
* gas/v850/basic.exp: Allow for variations in reloc names.
* gas/v850/split-lo16.d: Likewise.
* gas/v850/v850e1.s: Add more tests of the PREPARE insn.
* gas/v850/v850e1.d: Update expected disassembly.
* v850-dis.c (get_operand_value): Sign extend V850E_IMMEDIATE
values.
* v850-opc.c (IMM16LO): Add V850_OPERAND_SIGNED attribute.
Diffstat (limited to 'opcodes/v850-opc.c')
-rw-r--r-- | opcodes/v850-opc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/v850-opc.c b/opcodes/v850-opc.c index 0867d432ca..806651f362 100644 --- a/opcodes/v850-opc.c +++ b/opcodes/v850-opc.c @@ -747,9 +747,9 @@ const struct v850_operand v850_operands[] = #define IMM16 (I16 + 1) { 16, 32, NULL, NULL, V850E_IMMEDIATE16, BFD_RELOC_16 }, -/* The 16 bit immediate following a 32 bit instruction. */ +/* The signed 16 bit immediate following a prepare instruction. */ #define IMM16LO (IMM16 + 1) - { 16, 32, NULL, NULL, V850E_IMMEDIATE16, BFD_RELOC_LO16 }, + { 16, 32, NULL, NULL, V850E_IMMEDIATE16 | V850_OPERAND_SIGNED, BFD_RELOC_LO16 }, /* The hi 16 bit immediate following a 32 bit instruction. */ #define IMM16HI (IMM16LO + 1) |