diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-09-27 11:20:37 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-09-27 11:20:37 +0200 |
commit | 0fcb4bfcd40d8d35ac76555a64cf4d6fcc07d0b8 (patch) | |
tree | 060fbeb5b43fd7fc195a81254adb21654d7a42b0 | |
parent | 428f3561bc16dfc2944ee641201acdd166315aa2 (diff) | |
download | binutils-0fcb4bfcd40d8d35ac76555a64cf4d6fcc07d0b8.zip binutils-0fcb4bfcd40d8d35ac76555a64cf4d6fcc07d0b8.tar.gz binutils-0fcb4bfcd40d8d35ac76555a64cf4d6fcc07d0b8.tar.bz2 |
x86: correct {,V}PEXTR{D,Q} optimization
A possible relocation associated with a memory operand also needs
moving.
-rw-r--r-- | gas/config/tc-i386.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index dcb660b..23d75d7 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -5545,6 +5545,7 @@ optimize_encoding (void) i.op[1].regs = i.op[2].regs; i.types[1] = i.types[2]; i.flags[1] = i.flags[2]; + i.reloc[1] = i.reloc[2]; i.tm.operand_types[1] = i.tm.operand_types[2]; i.operands = 2; |