[SPARC] Segfault when resolving STT_GNU_IFUNC functions
David Miller
davem@davemloft.net
Sat Jun 11 01:36:00 GMT 2011
From: Aurelien Jarno <aurelien@aurel32.net>
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
idea.
More information about the Libc-alpha
mailing list