diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-04-01 15:58:31 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-04-01 15:58:31 +0000 |
commit | a7d61044b2f3e1562c1fc94cb9139eb156273c9c (patch) | |
tree | 62ffbce024c32ace5304352eaf03b342d7b1ca24 /gas | |
parent | 81fc812e7dba947fd689b9207ddbc5ec388c1a48 (diff) | |
download | gdb-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')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7642fd7..2e3cd7d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. 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)) { |