diff options
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index b48077def72..83c16bd3d9a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2006-09-23 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/3235 + * i386-dis.c (OP_OFF64): Get 32bit offset if there is an + address size prefix. + 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn> * score-dis.c: New file. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index bcf30802297..5172fc5cb9a 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -4693,7 +4693,8 @@ OP_OFF64 (int bytemode, int sizeflag) { bfd_vma off; - if (address_mode != mode_64bit) + if (address_mode != mode_64bit + || (prefixes & PREFIX_ADDR)) { OP_OFF (bytemode, sizeflag); return; |