aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-07 19:48:13 +0000
committerJeff Law <law@redhat.com>1999-09-07 19:48:13 +0000
commit4964086a669532a4daf23aab3c2978a95af42594 (patch)
tree3b9bd4dd64734044905c5bc808619587ae057ebc /gas
parent52d836e28f58122b8de7b5d1cb6439deeddb4620 (diff)
downloadgdb-4964086a669532a4daf23aab3c2978a95af42594.zip
gdb-4964086a669532a4daf23aab3c2978a95af42594.tar.gz
gdb-4964086a669532a4daf23aab3c2978a95af42594.tar.bz2
* config/tc-hppa.c (pa_ip): Support 'Z' argument.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-hppa.c11
2 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 47c6c10..6850921 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -3,6 +3,8 @@ Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Put strict register checks before
call to pa_parse_number.
+ * config/tc-hppa.c (pa_ip): Support 'Z' argument.
+
1999-09-06 Ian Lance Taylor <ian@zembu.com>
* config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 5f938c5..823238f 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -2830,6 +2830,17 @@ pa_ip (str)
continue;
}
+ /* Handle '%r1' implicit operand of addil instruction. */
+ case 'Z':
+ if (*s == ',' && *(s + 1) == '%' && *(s + 3) == '1'
+ && (*(s + 2) == 'r' || *(s + 2) == 'R'))
+ {
+ s += 4;
+ continue;
+ }
+ else
+ break;
+
/* Handle a 2 bit shift count at 25. */
case '.':
num = pa_get_absolute_expression (&the_insn, &s);