aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2002-06-17 15:32:25 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2002-06-17 15:32:25 +0000
commit96f31fc79d019f138883011138bde1b86d5ade4e (patch)
tree20216169e308c9265e785d1a5b9941047b259082
parent67fd25c29e4fc8b53036f6dfe8ff042185161075 (diff)
downloadgdb-96f31fc79d019f138883011138bde1b86d5ade4e.zip
gdb-96f31fc79d019f138883011138bde1b86d5ade4e.tar.gz
gdb-96f31fc79d019f138883011138bde1b86d5ade4e.tar.bz2
* config/tc-sh.c (assemble_ppi): Initialize reg_n.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-sh.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2998f95..9a87148 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jun 17 16:29:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * config/tc-sh.c (assemble_ppi): Initialize reg_n.
+
2002-06-17 Tom Rix <trix@redhat.com>
* config/tc-i370.h (tc_comment_chars): Define for i370-elf.
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index 634b9b8..e62a6f9 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -2147,6 +2147,7 @@ assemble_ppi (op_end, opcode)
Make sure we encode a defined insn pattern. */
reg_x = 0;
reg_y = 0;
+ reg_n = 0;
for (;;)
{