Don't use INTDEF/INTUSE in unwind-dw2-fde.c (bug 14132)
Rich Felker
dalias@libc.org
Tue Oct 28 20:00:00 GMT 2014
On Tue, Oct 28, 2014 at 05:11:37PM +0000, Joseph S. Myers wrote:
> It might be possible to eliminate those copies by making libc on affected
> architectures dlopen shared libgcc at startup and use the functions from
> there in the same way as done for thread cancellation, but that might not
> be desirable given most binaries wouldn't need it (really you'd want it to
> be dlopened only for binaries referencing those symbols; lazy opening is
> problematic for error reporting).
Doing that would be really backwards. What's needed is really the
opposite -- getting rid of the dlopen of libgcc entirely. Right now
pthread_cancel aborts the whole program if loading libgcc fails, and
loading can fail for all sorts of spurious reasons.
Rich
More information about the Libc-alpha
mailing list