aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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},