From 6be783603dd78f9060af6268ce28470a5a045e69 Mon Sep 17 00:00:00 2001
From: Jeff Law <law@redhat.com>
Date: Sun, 19 Sep 1999 16:45:20 +0000
Subject: [PATCH]         * config/tc-hppa.c (pa_ip): Handle 'g' operand.

---
 gas/ChangeLog        | 4 ++++
 gas/config/tc-hppa.c | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5db60d9b8bc..fd6d52aacfd 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Sun Sep 19 10:43:31 1999  Jeffrey A Law  (law@cygnus.com)
+
+	* config/tc-hppa.c (pa_ip): Handle 'g' operand.
+
 at Sep 18 12:13:28 1999  Jeffrey A Law  (law@cygnus.com)
 
 	* config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index c3d09853f47..a19ca4d349a 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -2682,6 +2682,13 @@ pa_ip (str)
 	      nullif = pa_parse_nullif (&s);
 	      INSERT_FIELD_AND_CONTINUE (opcode, nullif, 5);
 
+	    /* Handle ,gate completer for new syntax branches.  */
+	    case 'g':
+	      if (*s == ',' && strcasecmp (s + 1, "gate") == 0)
+		s += 5;
+	      else
+		break;
+	      continue;
 
 	    /* Handle a 11 bit immediate at 31.  */
 	    case 'i':