mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-23 07:57:38 +01:00
(compile_reg): Fix typo: treat f0 and f1 like scratch registers.
(Logical change 1.230)
This commit is contained in:
parent
5db79b888d
commit
32dd2e2218
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ compile_reg (struct ia64_state_record *sr, int i, struct ia64_reg_info *r,
|
|||
(indepent of is_preserved_gr), because for floating-point
|
||||
NaTs are represented as NaTVal, so the NaT-info never
|
||||
needs to be consulated. */
|
||||
if (rval <= 5)
|
||||
if (rval >= 2 && rval <= 5)
|
||||
val = IA64_REG_F2 + (rval - 2);
|
||||
else if (rval >= 16 && rval <= 31)
|
||||
val = IA64_REG_F16 + (rval - 16);
|
||||
|
|
Loading…
Reference in a new issue