This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SPARC] Segfault when resolving STT_GNU_IFUNC functions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]