[PATCH v3 9/9] Use libc_ifunc macro for siglongjmp, longjmp in libpthread.

Florian Weimer fweimer@redhat.com
Thu Oct 6 11:59:00 GMT 2016


On 08/24/2016 04:04 PM, Stefan Liebler wrote:
> This patch uses the libc_ifunc macro to create already existing ifunc functions
> longjmp_ifunc, siglongjmp_ifunc if HAVE_IFUNC is defined.
> The s390 pt-longjmp.c includes the common pt-longjmp.c and uses strong_alias
> to create the longjmp, siglongjmp symbols for glibc version 2.19.
>
> ChangeLog:
>
> 	* nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
> 	* sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
> 	Use strong_alias to create symbols for glibc verison 2.19.

This is okay for now.

Once this is in, I'm going to submit a patch which replaces the IFUNC 
resolver with a direct call (similar to what we did for fork) because of 
the relocation ordering issue that can cause those IFUNC resolvers to go 
wrong.

Thanks,
Florian



More information about the Libc-alpha mailing list