aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-06-22 08:17:57 +0000
committerNick Clifton <nickc@redhat.com>2001-06-22 08:17:57 +0000
commit8be31359fc023daa64e154f3b9d3de5f650ac98d (patch)
treefa7f82288d384ba067ed09f246da03dac0c2e75b
parent4772d57e2acc18322084e5c24147bf21e6ed0feb (diff)
downloadgdb-8be31359fc023daa64e154f3b9d3de5f650ac98d.zip
gdb-8be31359fc023daa64e154f3b9d3de5f650ac98d.tar.gz
gdb-8be31359fc023daa64e154f3b9d3de5f650ac98d.tar.bz2
Add %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 or
64 bit architecture.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-hppa.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 30ac249..0f5fc1e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com>
+
+ * config/tc-hppa.c: Add %mrp (millicode return pointer) alias
+ for %r2 or %r31, depending on 32 or 64 bit architecture.
+
2001-06-21 Philip Blundell <philb@gnu.org>
* config/tc-arm.c (cplong_flag): Rename to long_flag. All uses
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 64336a7..c440183 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -954,6 +954,11 @@ static const struct pd_reg pre_defined_registers[] =
{"%isr", 20},
{"%itmr", 16},
{"%iva", 14},
+#if TARGET_ARCH_SIZE == 64
+ {"%mrp", 2},
+#else
+ {"%mrp", 31},
+#endif
{"%pcoq", 18},
{"%pcsq", 17},
{"%pidr1", 8},