glibc/sysdeps/unix/sysv/linux/mips/mips64
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
..
n32 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
n64 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
Makefile
configure
configure.ac
fxstat64.c
fxstatat64.c linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
getdents64.c
ipc_priv.h
ldconfig.h
ldd-rewrite.sed
libBrokenLocale.abilist
libanl.abilist
libcrypt.abilist
libdl.abilist
libm.abilist
libnsl.abilist
libpthread.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
lxstat64.c
msgctl.c
semctl.c
shmctl.c
statx_cp.c
syscall.S
sysdep.h linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
xstat64.c