This is the mail archive of the
mailing list for the glibc project.
Re: [SPARC] Segfault when resolving STT_GNU_IFUNC functions
From: Aurelien Jarno <email@example.com>
Date: Sat, 11 Jun 2011 00:27:12 +0200
> The problems happens because the IFUNC resolvers are sometimes also
> called from generic code, in this case from elf/dl-runtime.c. The patch
> below fixes the problem on sparc following the same principle, but is
> just there to show the issue, it's not acceptable for mainline.
Thanks for debugging this.
If doing this generically isn't an option, we can abstract this call
out into an arch header file such as dl-irel.h
Although, frankly I don't see why doing it generically would be a bad