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 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Implies
Makefile
Versions
arch-fork.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
configure
configure.ac
dl-cache.h
dl-procinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elision-conf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elision-conf.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elision-lock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elision-timed.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elision-trylock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elision-unlock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
force-elision.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
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 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ldd-rewrite.sed
libanl.abilist
libc-vdso.h Consolidate vDSO macros and usage 2015-05-26 10:10:36 -03:00
localplt.data
longjmp_chk.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lowlevellock.h s390: Use generic lowlevellock-futex.h 2015-02-20 10:48:06 +01:00
nldbl-abi.h
opensock.c
pt-longjmp.c S390: Build failure due to nptl/pt-longjmp.c changes. 2015-02-17 08:47:49 +01:00
pt-vfork.S
pthread_mutex_cond_lock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_mutex_lock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_mutex_timedlock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_mutex_trylock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
rt-sysdep.S
sa_len.c
semtimedop.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysconf.c S/390: Get cache information via sysconf 2015-04-24 13:37:39 +02:00
system.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ucontext_i.sym