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 | |
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.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 515cf2f..174b084 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2005-04-12 Nick Clifton <nickc@redhat.com> + + PR gas/818 + * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] + synonyms. + 2005-04-12 Alan Modra <amodra@bigpond.net.au> * Makefile.am: Run "make dep-am". 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}, |