aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-12-08 09:59:40 +0000
committerAlan Modra <amodra@gmail.com>2005-12-08 09:59:40 +0000
commit6e50d963b00bbf8b95fe00354fd2c683971b43ba (patch)
tree702166cf2ec07323503b2ef89b7b69a7839c706c /opcodes/i386-dis.c
parente424ecc89d5c60395ac795dc5dd8f482dee51d5d (diff)
downloadgdb-6e50d963b00bbf8b95fe00354fd2c683971b43ba.zip
gdb-6e50d963b00bbf8b95fe00354fd2c683971b43ba.tar.gz
gdb-6e50d963b00bbf8b95fe00354fd2c683971b43ba.tar.bz2
* i386-dis.c (dofloat): Handle %rip-relative floating point addressing.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 5adf4af..de70fab 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -2689,6 +2689,7 @@ dofloat (int sizeflag)
putop (float_mem[fp_indx], sizeflag);
obufp = op1out;
+ op_ad = 2;
OP_E (float_mem_mode[fp_indx], sizeflag);
return;
}
@@ -2710,9 +2711,12 @@ dofloat (int sizeflag)
putop (dp->name, sizeflag);
obufp = op1out;
+ op_ad = 2;
if (dp->op1)
(*dp->op1) (dp->bytemode1, sizeflag);
+
obufp = op2out;
+ op_ad = 1;
if (dp->op2)
(*dp->op2) (dp->bytemode2, sizeflag);
}