Enhance _dl_catch_exception to allow disabling exception handling
authorFlorian Weimer <fweimer@redhat.com>
Thu, 31 Oct 2019 12:23:06 +0000 (13:23 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sat, 16 Nov 2019 14:57:01 +0000 (15:57 +0100)
commit2a764c6ee848dfe92cb2921ed3b14085f15d9e79
tree12d283aab07a5cb66474aff7a388dd585a2d2989
parent84df7a4637be8ecb545df3501cc724f3a4d53c46
Enhance _dl_catch_exception to allow disabling exception handling

In some cases, it is necessary to introduce noexcept regions
where raised dynamic loader exceptions (e.g., from lazy binding)
are fatal, despite being nested in a code region with an active
exception handler.  This change enhances _dl_catch_exception with
to provide such a capability.  The existing function is reused,
so that it is not necessary to introduce yet another function with
a similar purpose.

Change-Id: Iec1bf642ff95a349fdde8040e9baf851ac7b8904
elf/dl-error-skeleton.c
sysdeps/generic/ldsodefs.h