glibc/sysdeps/unix/sysv/linux/s390
Florian Weimer 3a0ecccb59 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486]
Exporting functions and relying on symbol interposition from libc.so
makes the choice of implementation dependent on DT_NEEDED order, which
is not what some compiler drivers expect.

This commit replaces one magic mechanism (symbol interposition) with
another one (preprocessor-/compiler-based redirection).  This makes
the hand-over from the minimal malloc to the full malloc more
explicit.

Removing the ABI symbols is backwards-compatible because libc.so is
always in scope, and the dynamic loader will find the malloc-related
symbols there since commit f0b2132b35
("ld.so: Support moving versioned symbols between sonames
[BZ #24741]").

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2020-02-15 11:01:23 +01:00
..
bits y2038: Define __suseconds64_t type to be used with struct __timeval64 2020-02-07 17:55:07 +01:00
fpu Use libm_alias_double for s390. 2017-11-28 17:18:20 +00:00
s390-32 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
s390-64 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
sys Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
dl-cache.h
dl-procinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-conf.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-conf.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-lock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-timed.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-trylock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-unlock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
force-elision.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
htm.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
kernel_sigaction.h s390: Use generic kernel_sigaction.h 2018-12-18 19:52:23 -02:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ldd-rewrite.sed
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
localplt.data ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
longjmp_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
lowlevellock.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile elf: Move vDSO setup to rtld (BZ#24967) 2020-01-03 11:22:07 -03:00
mmap_internal.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nldbl-abi.h * math/divtc3.c: New file. 2006-02-01 03:02:06 +00:00
opensock.c * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): 2007-11-23 15:19:41 +00:00
pt-longjmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pthread_mutex_cond_lock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pthread_mutex_lock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pthread_mutex_timedlock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pthread_mutex_trylock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rt-sysdep.S
sa_len.c Clean up __libc_sa_len helper. 2013-08-27 10:34:16 -07:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sysdep.h linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
tst-ptrace-singleblock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ucontext_i.sym S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
Versions Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00