libgcc: Special-case BFD ld unwind table encodings in find_fde_tail
commite724b0480bfa5ec04f39be8c7290330b495c59de
authorFlorian Weimer <fweimer@redhat.com>
Fri, 4 Nov 2022 09:18:03 +0000 (4 10:18 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 4 Nov 2022 09:18:03 +0000 (4 10:18 +0100)
treeb6386f6ca91a728a373e2c2bdaeb901b83aa3683
parenta05d8e1d15ea08526639ba154e59b6822b704f4c
libgcc: Special-case BFD ld unwind table encodings in find_fde_tail

BFD ld (and the other linkers) only produce one encoding of these
values.  It is not necessary to use the general
read_encoded_value_with_base decoding routine.  This avoids the
data-dependent branches in its implementation.

libgcc/

* unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
values actually used by BFD ld.
libgcc/unwind-dw2-fde-dip.c