glibc/sysdeps/unix/sysv/linux/m68k
Siddhesh Poyarekar 0552fd2c7d Move malloc_{g,s}et_state to libc_malloc_debug
These deprecated functions are only safe to call from
__malloc_initialize_hook and as a result, are not useful in the
general case.  Move the implementations to libc_malloc_debug so that
existing binaries that need it will now have to preload the debug DSO
to work correctly.

This also allows simplification of the core malloc implementation by
dropping all the undumping support code that was added to make
malloc_set_state work.

One known breakage is that of ancient emacs binaries that depend on
this.  They will now crash when running with this libc.  With
LD_BIND_NOW=1, it will terminate immediately because of not being able
to find malloc_set_state but with lazy binding it will crash in
unpredictable ways.  It will need a preloaded libc_malloc_debug.so so
that its initialization hook is executed to allow its malloc
implementation to work properly.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2021-07-22 18:38:10 +05:30
..
bits y2038: Use a common definition for stat 2021-06-15 10:42:11 -03:00
coldfire Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
m680x0 Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
sys
Implies
Makefile
Versions
____longjmp_chk.c
arch-syscall.h Update syscall lists for Linux 5.13 2021-07-01 17:37:36 +00:00
c++-types.data
clone.S
configure
configure.ac
dl-librecon.h
getpagesize.c
kernel-features.h linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
kernel_sigaction.h
kernel_stat.h
ldconfig.h
m68k-helpers.c
mmap_internal.h
mremap.S
register-dump.h
sigcontextinfo.h
syscall.S
syscalls.list
sysdep.S
sysdep.h
time64-compat.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
vfork.S
xstatver.h