aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-04-01 15:58:31 +0000
committerJan Beulich <jbeulich@novell.com>2005-04-01 15:58:31 +0000
commita7d61044b2f3e1562c1fc94cb9139eb156273c9c (patch)
tree62ffbce024c32ace5304352eaf03b342d7b1ca24 /gas/config
parent81fc812e7dba947fd689b9207ddbc5ec388c1a48 (diff)
downloadgdb-a7d61044b2f3e1562c1fc94cb9139eb156273c9c.zip
gdb-a7d61044b2f3e1562c1fc94cb9139eb156273c9c.tar.gz
gdb-a7d61044b2f3e1562c1fc94cb9139eb156273c9c.tar.bz2
gas/
2005-04-01 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push immediates.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 183e244..486b0cf 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))
{