aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-rx.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-07-26 14:09:36 +0000
committerNick Clifton <nickc@redhat.com>2011-07-26 14:09:36 +0000
commit53d780c93d81fe0dbcce1a93252ee638937032c7 (patch)
treea5a43f6aa692b63c622fff76aa780a3ade24425f /gas/config/tc-rx.c
parent58d180e827fcc256ae661c02d14ff0acae362efa (diff)
downloadgdb-53d780c93d81fe0dbcce1a93252ee638937032c7.zip
gdb-53d780c93d81fe0dbcce1a93252ee638937032c7.tar.gz
gdb-53d780c93d81fe0dbcce1a93252ee638937032c7.tar.bz2
* config/tc-rx.c (md_convert_frag): Fix encoding of beq.a
synthetic instruction. * gas/rx/r-bcc.d: Update expected disassembly of synthetic beq.a instruction.
Diffstat (limited to 'gas/config/tc-rx.c')
-rw-r--r--gas/config/tc-rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c
index 3daa7df..56cda15 100644
--- a/gas/config/tc-rx.c
+++ b/gas/config/tc-rx.c
@@ -1701,7 +1701,7 @@ md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED,
reloc_adjust = 1;
break;
case OPCODE (OT_beq, 5): /* BEQ.A - synthetic. */
- op[0] = 0x1e; /* bne.s .+4. */
+ op[0] = 0x1d; /* bne.s .+5. */
op[1] = 0x04; /* bra.a dsp:24. */
disp -= 1;
#if RX_OPCODE_BIG_ENDIAN
@@ -1739,7 +1739,7 @@ md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED,
reloc_adjust = 1;
break;
case OPCODE (OT_bne, 5): /* BNE.A - synthetic. */
- op[0] = 0x15; /* beq.s .+4. */
+ op[0] = 0x15; /* beq.s .+5. */
op[1] = 0x04; /* bra.a dsp:24. */
disp -= 1;
#if RX_OPCODE_BIG_ENDIAN