diff options
author | Nick Clifton <nickc@redhat.com> | 2005-04-12 08:39:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-04-12 08:39:34 +0000 |
commit | f394e3dd2e2f699104a24e7ba2a486d2f2b79807 (patch) | |
tree | b36167eff05e601dd519748efe150b626ad4e12e /gas/config/tc-hppa.c | |
parent | ceae3e339f25193207809084cfcf929d75558859 (diff) | |
download | gdb-f394e3dd2e2f699104a24e7ba2a486d2f2b79807.zip gdb-f394e3dd2e2f699104a24e7ba2a486d2f2b79807.tar.gz gdb-f394e3dd2e2f699104a24e7ba2a486d2f2b79807.tar.bz2 |
PR gas/818
* config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] synonyms.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r-- | gas/config/tc-hppa.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index b1aa2bc..3860d32 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}, |