mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 04:20:25 +08:00
unwind-dw2.c (_Unwind_GetGR): Compare regno instead of index to DWARF_ZERO_REG.
* unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare regno instead of index to DWARF_ZERO_REG. From-SVN: r269021
This commit is contained in:
parent
3b8f48d6f0
commit
fe95aee9ce
@ -1,3 +1,8 @@
|
||||
2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
|
||||
regno instead of index to DWARF_ZERO_REG.
|
||||
|
||||
2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* config/visium/lib2funcs.c (__set_trampoline_parity): Replace
|
||||
|
@ -225,7 +225,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int regno)
|
||||
_Unwind_Context_Reg_Val val;
|
||||
|
||||
#ifdef DWARF_ZERO_REG
|
||||
if (index == DWARF_ZERO_REG)
|
||||
if (regno == DWARF_ZERO_REG)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user