diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 438180cf4e8..235deb841c8 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -6888,7 +6888,8 @@ match_template (char mnem_suffix) continue; if (t->base_opcode == MOV_AX_DISP32 - && t->opcode_modifier.opcodespace == SPACE_BASE) + && t->opcode_modifier.opcodespace == SPACE_BASE + && t->mnem_off != MN_movabs) { /* Force 0x8b encoding for "mov foo@GOT, %eax". */ if (i.reloc[0] == BFD_RELOC_386_GOT32)