From f394e3dd2e2f699104a24e7ba2a486d2f2b79807 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 12 Apr 2005 08:39:34 +0000 Subject: [PATCH] PR gas/818 * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] synonyms. --- gas/ChangeLog | 6 ++++++ gas/config/tc-hppa.c | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 515cf2f0d9e..174b08442ff 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2005-04-12 Nick Clifton + + PR gas/818 + * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] + synonyms. + 2005-04-12 Alan Modra * Makefile.am: Run "make dep-am". diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index b1aa2bc0a97..3860d32d26c 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -811,6 +811,7 @@ static int print_errors = 1; %r26 - %r23 have %arg0 - %arg3 as synonyms %r28 - %r29 have %ret0 - %ret1 as synonyms + %fr4 - %fr7 have %farg0 - %farg3 as synonyms %r30 has %sp as a synonym %r27 has %dp as a synonym %r2 has %rp as a synonym @@ -854,10 +855,10 @@ static const struct pd_reg pre_defined_registers[] = {"%dp", 27}, {"%eiem", 15}, {"%eirr", 23}, - {"%farg0", 5}, - {"%farg1", 6}, - {"%farg2", 7}, - {"%farg3", 8}, + {"%farg0", 4 + FP_REG_BASE}, + {"%farg1", 5 + FP_REG_BASE}, + {"%farg2", 6 + FP_REG_BASE}, + {"%farg3", 7 + FP_REG_BASE}, {"%fr0", 0 + FP_REG_BASE}, {"%fr0l", 0 + FP_REG_BASE}, {"%fr0r", 0 + FP_REG_BASE + FP_REG_RSEL}, -- 2.30.2