glibc/sysdeps/unix/sysv/linux/s390
Stefan Liebler 37d13b179c S390: Clean setjmp, longjmp, getcontext symbols.
For each function setjmp, longjmp, getcontext, there exist a symbol
<func> and a default/versioned symbol <func>@@GLIBC_2.x in the build
obj-files.
This is wrong because it should only exist an unversioned or a
default-versioned symbol with the same name in an obj-file.
Glibc can't be build with recent binutils. See the already fixed linker
bug https://sourceware.org/bugzilla/show_bug.cgi?id=19073.
Nevertheless, this patch cleans this up.

Furthermore the BSD entry points setjmp, _setjmp were marked as weak,
but should be strong as on other architectures.
(see https://sourceware.org/ml/libc-alpha/2014-07/msg00568.html for an
older discussion with Andreas Schwab)

Some whitespace issues are corrected in sysdeps/s390/s390-64/setjmp.S,
too. But there is no change in the assembler code.

ChangeLog:

	* sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
	Don't create weak aliases,
	because versioned symbols are created later.
	* sysdeps/s390/s390-32/setjmp.S
	(setjmp, _setjmp): Remove weak and rename to an unique name
	in SHARED case due to existing versioned symbols.
	* sysdeps/s390/s390-64/setjmp.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
	(getcontext): Create weak alias only in non SHARED case.
	* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2015-11-09 16:14:49 +01:00
..
bits S390: Add hwcaps value for vector facility. 2015-08-26 10:26:19 +02:00
fpu
s390-32 S390: Clean setjmp, longjmp, getcontext symbols. 2015-11-09 16:14:49 +01:00
s390-64 S390: Clean setjmp, longjmp, getcontext symbols. 2015-11-09 16:14:49 +01: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
jmp-unwind.c Use __libc_ptf_call in _longjmp_unwind 2015-09-18 12:22:47 -07:00
kernel-features.h S390: Call direct system calls for socket operations. 2015-11-09 16:14:49 +01:00
ldconfig.h
ldd-rewrite.sed
libanl.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libc-vdso.h
localplt.data
longjmp_chk.c
lowlevellock.h nptl: Add adapt_count parameter to lll_unlock_elision 2015-10-15 18:55:48 -03:00
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 Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
sigcontextinfo.h
sysconf.c
system.c
ucontext_i.sym