aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
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 /gas/config/tc-hppa.c
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.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r--gas/config/tc-hppa.c5
1 files changed, 5 insertions, 0 deletions
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},