glibc/sysdeps/unix/sysv/linux/s390
H.J. Lu 94afa0a5f3 Use __libc_ptf_call in _longjmp_unwind
Use __libc_ptf_call in _longjmp_unwind to avoid duplicated logic.  On
x86-64, I got

jmp-unwind.os:
_longjmp_unwind:
	movl	__libc_pthread_functions_init(%rip), %eax
	testl	%eax, %eax
	jne	.L4
	rep ret
.L4:
	movq	304+__libc_pthread_functions(%rip), %rax
	movq	%rsp, %rsi
	ror $2*8+1, %rax
	xor %fs:48, %rax
	jmp	*%rax

jmp-unwind.o:

_longjmp_unwind:
	movl	$__pthread_cleanup_upto, %eax
	testq	%rax, %rax
	je	.L1
	movq	%rsp, %rsi
	jmp	__pthread_cleanup_upto
.L1:
	rep ret

	* sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
	<nptl/pthreadP.h>.
	(_longjmp_unwind): Use __libc_ptf_call.
	* sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
2015-09-18 12:22:47 -07:00
..
bits S390: Add hwcaps value for vector facility. 2015-08-26 10:26:19 +02:00
fpu
s390-32 Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
s390-64 libio: fmemopen rewrite to POSIX compliance 2015-07-08 12:07:21 -03:00
sys
Implies
Makefile
Versions
arch-fork.h
brk.c
configure
configure.ac
dl-cache.h
dl-procinfo.h
elision-conf.c
elision-conf.h
elision-lock.c
elision-timed.c
elision-trylock.c
elision-unlock.c
force-elision.h
init-first.c Consolidate gettimeofday across aarch64/s390/tile 2015-05-26 17:03:35 -03:00
jmp-unwind.c Use __libc_ptf_call in _longjmp_unwind 2015-09-18 12:22:47 -07:00
kernel-features.h
ldconfig.h
ldd-rewrite.sed
libanl.abilist
libc-vdso.h
localplt.data
longjmp_chk.c
lowlevellock.h
nldbl-abi.h
opensock.c
pt-longjmp.c
pt-vfork.S
pthread_mutex_cond_lock.c
pthread_mutex_lock.c
pthread_mutex_timedlock.c
pthread_mutex_trylock.c
readelflib.c
rt-sysdep.S
sa_len.c
semtimedop.c
sigcontextinfo.h
sysconf.c
system.c
ucontext_i.sym