glibc/sysdeps/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 Move bits/atomic.h to atomic-machine.h (bug 14912). 2015-09-11 20:00:19 +00:00
fpu S390: Fix handling of DXC-byte in FPC-register. 2015-08-26 10:26:18 +02:00
multiarch S390: Optimize memrchr. 2015-08-26 10:26:26 +02:00
nptl Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
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
abort-instr.h
asm-syntax.h
atomic-machine.h Move bits/atomic.h to atomic-machine.h (bug 14912). 2015-09-11 20:00:19 +00:00
configure S390: configure check for vector instruction support in assembler. 2015-08-26 10:26:19 +02:00
configure.ac S390: configure check for vector instruction support in assembler. 2015-08-26 10:26:19 +02:00
dl-irel.h
dl-procinfo.c S390: Add new s390 platform. 2015-08-26 10:26:19 +02:00
dl-procinfo.h S390: Add new s390 platform. 2015-08-26 10:26:19 +02:00
dl-tls.h
ffs.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
gccframe.h
gmp-mparam.h
Implies
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
linkmap.h Rename bits/linkmap.h to linkmap.h (bug 14912). 2015-09-04 19:44:27 +00:00
longjmp.c S390: Clean setjmp, longjmp, getcontext symbols. 2015-11-09 16:14:49 +01:00
machine-gmon.h
memusage.h
preconfigure
sotruss-lib.c
stackinfo.h
Versions