mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-11 19:43:42 +01:00
(compile_reg): Fix off-by-1 error for case IA64_WHERE_FR. This makes
Gia64-test-nat.c:check_static_to_fpreg() work. (Logical change 1.172)
This commit is contained in:
parent
f2273f5463
commit
90a9f62a8c
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ compile_reg (struct ia64_state_record *sr, int i, struct ia64_script *script)
|
|||
|
||||
case IA64_WHERE_FR:
|
||||
if (rval <= 5)
|
||||
val = IA64_REG_F2 + (rval - 1);
|
||||
val = IA64_REG_F2 + (rval - 2);
|
||||
else if (rval >= 16 && rval <= 31)
|
||||
val = IA64_REG_F16 + (rval - 16);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue