Message ID | CAFULd4ai=zryzBfuw8QOxHrfMM_h6ijO5mttsNt9=+R7sWjjBA@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | [libgcc] Fixup _UnwindGetGR for function argument rename | expand |
diff --git a/libgcc/unwind-dw2.c b/libgcc/unwind-dw2.c index bd88df963957..e6130af2fb54 100644 --- a/libgcc/unwind-dw2.c +++ b/libgcc/unwind-dw2.c @@ -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