diff options
author | Jan Beulich <jbeulich@suse.com> | 2020-07-21 14:20:11 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2020-07-21 14:20:11 +0200 |
commit | bf4ba07ca61793a1faf81c0447ba97fdc6639b50 (patch) | |
tree | feaeb55588e260ba937d85653caaa2bb30ef759a /opcodes/i386-dis.c | |
parent | 2b42b0415aee13f1939b395c3693e679d16d0a70 (diff) | |
download | binutils-bf4ba07ca61793a1faf81c0447ba97fdc6639b50.zip binutils-bf4ba07ca61793a1faf81c0447ba97fdc6639b50.tar.gz binutils-bf4ba07ca61793a1faf81c0447ba97fdc6639b50.tar.bz2 |
Revert "x86: Don't display eiz with no scale"
This reverts commit 04c662e2b66bedd050f97adec19afe0fcfce9ea7.
In my underlying suggestion I neglected the fact that in those
cases (,%eiz,1) is the only visible indication that 32-bit
addressing is in effect.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index d1d7a7d..cd8a9a8 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -11818,7 +11818,7 @@ OP_E_memory (int bytemode, int sizeflag) /* Without base nor index registers, zero-extend the lower 32-bit displacement to 64 bits. */ disp = (unsigned int) disp; - needindex = scale; + needindex = 1; } needaddr32 = 1; } |