mirror of git://sourceware.org/git/glibc.git
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. |
||
---|---|---|
.. | ||
Makefile | ||
Versions | ||
____longjmp_chk.c | ||
__makecontext_ret.S | ||
alphasort64.c | ||
c++-types.data | ||
clone.S | ||
fcntl.c | ||
fxstat.c | ||
fxstatat.c | ||
getcontext.S | ||
getdents64.c | ||
getrlimit64.c | ||
getutent.c | ||
getutent_r.c | ||
getutid.c | ||
getutid_r.c | ||
getutline.c | ||
getutline_r.c | ||
getutmp.c | ||
getutxent.c | ||
getutxid.c | ||
getutxline.c | ||
ld.abilist | ||
libBrokenLocale.abilist | ||
libc.abilist | ||
libcrypt.abilist | ||
libdl.abilist | ||
libm.abilist | ||
libnsl.abilist | ||
libpthread.abilist | ||
libresolv.abilist | ||
librt.abilist | ||
libthread_db.abilist | ||
libutil.abilist | ||
lockf64.c | ||
login.c | ||
login32.c | ||
lxstat.c | ||
makecontext.c | ||
mmap.S | ||
mmap64.S | ||
oldgetrlimit64.c | ||
posix_fadvise64.c | ||
profil-counter.h | ||
pututxline.c | ||
readdir64.c | ||
readdir64_r.c | ||
register-dump.h | ||
scandir64.c | ||
setcontext.S | ||
setegid.c | ||
seteuid.c | ||
setgid.c | ||
setgroups.c | ||
setregid.c | ||
setresgid.c | ||
setresuid.c | ||
setreuid.c | ||
setuid.c | ||
swapcontext.S | ||
syscall.S | ||
syscalls.list | ||
sysdep-cancel.h | ||
sysdep.S | ||
sysdep.h | ||
updwtmp.c | ||
updwtmpx.c | ||
utmp-compat.h | ||
utmp-convert.h | ||
utmp32.c | ||
utmp32.h | ||
utmpx-convert.h | ||
utmpx32.c | ||
utmpx32.h | ||
versionsort64.c | ||
vfork.S | ||
xstat.c |