glibc/sysdeps/unix/sysv/linux/m68k
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
coldfire ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
m680x0 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
sys
Implies
Makefile
Versions
____longjmp_chk.c
arch-syscall.h
brk.c
c++-types.data
clone.S
configure
configure.ac
dl-librecon.h
dl-static.c
fxstat.c
fxstatat.c
getpagesize.c
getsysstats.c
kernel-features.h
kernel_sigaction.h
ldconfig.h
ldsodefs.h
lxstat.c
m68k-helpers.c
mmap_internal.h
mremap.S
register-dump.h
sigcontextinfo.h
syscall.S
syscalls.list
sysdep.S
sysdep.h
vfork.S
xstat.c