aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-19 17:09:23 +0000
committerJeff Law <law@redhat.com>1999-09-19 17:09:23 +0000
commitdbe2f9eec872498a07c309a7bf769303ca0c8ae8 (patch)
tree0c7ad435a16a4bdd000d72754224186d7a7d216d /gas
parent2784abe5258ab3dc6cdf1c6cca5608c2966208d7 (diff)
downloadgdb-dbe2f9eec872498a07c309a7bf769303ca0c8ae8.zip
gdb-dbe2f9eec872498a07c309a7bf769303ca0c8ae8.tar.gz
gdb-dbe2f9eec872498a07c309a7bf769303ca0c8ae8.tar.bz2
* config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-hppa.c18
2 files changed, 20 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f1aa1fd..3c157d5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
+ * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
+
* config/tc-hppa.c (pa_ip): Handle 'l' operand.
* config/tc-hppa.c (pa_ip): Handle 'g' operand.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index d0e1dec..a2e3129 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -2698,6 +2698,24 @@ pa_ip (str)
break;
continue;
+ /* Handle ,push completer for new syntax branches. */
+ case 'M':
+ if (*s == ',' && strcasecmp (s + 1, "push") == 0)
+ s += 5;
+ else
+ break;
+ continue;
+
+ /* Handle ,%r2 completer for new syntax branches. */
+ case 'L':
+ if (*s == ',' && strcasecmp (s + 1, "%r2") == 0)
+ s += 4;
+ else if (*s == ',' && strcasecmp (s + 1, "%rp") == 0)
+ s += 4;
+ else
+ break;
+ continue;
+
/* Handle a 11 bit immediate at 31. */
case 'i':
the_insn.field_selector = pa_chk_field_selector (&s);