From: Jan Beulich Date: Fri, 1 Apr 2005 15:58:31 +0000 (+0000) Subject: gas/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7d61044b2f3e1562c1fc94cb9139eb156273c9c;p=binutils-gdb.git gas/ 2005-04-01 Jan Beulich * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push immediates. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 7642fd76bff..2e3cd7d371d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-04-01 Jan Beulich + + * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push + immediates. + 2005-04-01 Jan-Benedict Glaw * NEWS: Mention [fdgh]_floating. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 183e244a25f..486b0cf65fa 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -3567,7 +3567,8 @@ output_imm (insn_start_frag, insn_start_off) int sign = 0; if ((i.types[n] & (Imm32S)) - && i.suffix == QWORD_MNEM_SUFFIX) + && (i.suffix == QWORD_MNEM_SUFFIX + || (!i.suffix && (i.tm.opcode_modifier & No_lSuf)))) sign = 1; if (i.types[n] & (Imm8 | Imm8S | Imm16 | Imm64)) {