aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-11-25 18:40:51 +0100
committerFlorian Weimer <fweimer@redhat.com>2021-11-25 18:43:55 +0100
commit9488d24206687be80443dafdb2cdfc4ff3aca28c (patch)
tree1d811c01fbff03e3c021ad0ce041846e58f7cd48 /gcc
parent5bc4cb04127a4805b6228b0a6cbfebdbd61314d2 (diff)
downloadgcc-9488d24206687be80443dafdb2cdfc4ff3aca28c.zip
gcc-9488d24206687be80443dafdb2cdfc4ff3aca28c.tar.gz
gcc-9488d24206687be80443dafdb2cdfc4ff3aca28c.tar.bz2
libgcc: Split FDE search code from PT_GNU_EH_FRAME lookup
This allows switching to a different implementation for PT_GNU_EH_FRAME lookup in a subsequent commit. This moves some of the PT_GNU_EH_FRAME parsing out of the glibc loader lock that is implied by dl_iterate_phdr. However, the FDE is already parsed outside the lock before this change, so this does not introduce additional crashes in case of a concurrent dlclose. libgcc/ChangeLog: * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr. Remove func, ret. (find_fde_tail): New function. Split from _Unwind_IteratePhdrCallback. Move the result initialization from _Unwind_Find_FDE. (_Unwind_Find_FDE): Updated to call find_fde_tail.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions