https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at gcc dot gnu.org

--- Comment #20 from Florian Weimer <fw at gcc dot gnu.org> ---
Thanks for looking into this, Thomas.  I suspect it's a simple typo, which
happens not to matter in many cases because both dbase and eh_frame are unused:

diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c
index 6223f5f18a2..b7b09d584c8 100644
--- a/libgcc/unwind-dw2-fde-dip.c
+++ b/libgcc/unwind-dw2-fde-dip.c
@@ -404,7 +404,7 @@ find_fde_tail (_Unwind_Ptr pc,
       signed value __attribute__ ((mode (SI)));
       memcpy (&value, p, sizeof (value));
       p += sizeof (value);
-      dbase = value;           /* No adjustment because pcrel has base 0.  */
+      eh_frame = value;                /* No adjustment because pcrel has base
0.  */
     }
   else
     p = read_encoded_value_with_base (hdr->eh_frame_ptr_enc,

Reply via email to