aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 (;;)
{