From a7d61044b2f3e1562c1fc94cb9139eb156273c9c Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 1 Apr 2005 15:58:31 +0000 Subject: [PATCH] gas/ 2005-04-01 Jan Beulich * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push immediates. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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)) { -- 2.30.2