aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-05-20 19:01:56 +0000
committerBob Wilson <bob.wilson@acm.org>2005-05-20 19:01:56 +0000
commit47e70edbf97b87c6cc0df322a457d45570ed6191 (patch)
treebfdc15cd6cc6b77385f1c22b08d518a5e4f795ad /gas
parentba1e897e43b11b02e0a3ffba65205989c3b0cb49 (diff)
downloadgdb-47e70edbf97b87c6cc0df322a457d45570ed6191.zip
gdb-47e70edbf97b87c6cc0df322a457d45570ed6191.tar.gz
gdb-47e70edbf97b87c6cc0df322a457d45570ed6191.tar.bz2
* config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
to addition in argument to xtensa_dwarf2_emit_insn.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-xtensa.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a73578d..a54e152 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-20 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
+ to addition in argument to xtensa_dwarf2_emit_insn.
+
2005-05-19 Zack Weinberg <zack@codesourcery.com>
* Makefile.am: Have 'all' depend on 'info'.
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index 3f79177..64e10da 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -6793,7 +6793,7 @@ xg_assemble_vliw_tokens (vliw_insn *vinsn)
xtensa_insnbuf_to_chars (isa, vinsn->insnbuf, (unsigned char *) f, 0);
- xtensa_dwarf2_emit_insn (insn_size - extra_space, &best_loc);
+ xtensa_dwarf2_emit_insn (insn_size + extra_space, &best_loc);
for (slot = 0; slot < vinsn->num_slots; slot++)
{