gas/
authorJan Beulich <jbeulich@novell.com>
Fri, 1 Apr 2005 15:58:31 +0000 (15:58 +0000)
committerJan Beulich <jbeulich@novell.com>
Fri, 1 Apr 2005 15:58:31 +0000 (15:58 +0000)
2005-04-01  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
immediates.

gas/ChangeLog
gas/config/tc-i386.c

index 7642fd76bff1073e128f19af828b3b844742ec3c..2e3cd7d371d1e2cd9ea1bbb1487700066164a9dd 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-01  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
+       immediates.
+
 2005-04-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
 
        * NEWS: Mention [fdgh]_floating.
index 183e244a25f63e010c83c0f8efcc73cc28d6ac1f..486b0cf65faaa1ac7b5442128a0e7300716b912f 100644 (file)
@@ -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))
                {