diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2012-10-14 23:27:38 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2012-10-14 23:27:38 +0000 |
commit | 26cbfa82ad8efb59a6c5420ee5b25043f3c69cea (patch) | |
tree | 7e2634aa1eb416bcc0de5823abc0d5a2732fc124 /gas/config | |
parent | 767b2c671271b0035804530c46ccc37b8610fbe4 (diff) | |
download | gdb-26cbfa82ad8efb59a6c5420ee5b25043f3c69cea.zip gdb-26cbfa82ad8efb59a6c5420ee5b25043f3c69cea.tar.gz gdb-26cbfa82ad8efb59a6c5420ee5b25043f3c69cea.tar.bz2 |
* config/tc-hppa.c (pa_ip): Reject double floating point stores and
loads that reference the right half of a floating point register.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-hppa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 6411e36..16192d8 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -5482,7 +5482,10 @@ pa_ip (char *str) case 't': if (!pa_parse_number (&s, 3)) break; - num = (pa_number & ~FP_REG_RSEL) - FP_REG_BASE; + /* RSEL should not be set. */ + if (pa_number & FP_REG_RSEL) + break; + num = pa_number - FP_REG_BASE; CHECK_FIELD (num, 31, 0, 0); INSERT_FIELD_AND_CONTINUE (opcode, num, 0); |