From 8be31359fc023daa64e154f3b9d3de5f650ac98d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 22 Jun 2001 08:17:57 +0000 Subject: [PATCH] Add %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 or 64 bit architecture. --- gas/ChangeLog | 5 +++++ gas/config/tc-hppa.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 30ac249a3a9..0f5fc1e504a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-06-22 Matthew Wilcox + + * 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 * 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 64336a70921..c4401834f31 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}, -- 2.30.2