glibc/sysdeps/unix/sysv/linux/powerpc/powerpc64
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
..
be Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
fpu
le Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
Implies
Versions Linux: Move timer_settime, __timer_settime64 from librt to libc 2021-06-28 09:51:01 +02:00
____longjmp_chk.S
arch-pkey.h
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-cache.h
getcontext.S
jmp_buf-macros.h
ldsodefs.h
localplt.data mtrace: Wean away from malloc hooks 2021-07-22 18:38:06 +05:30
makecontext.S
pkey_get.c
pkey_set.c
setcontext.S
shlib-versions
swapcontext.S
sysdep.h
timer_t_was_int_compat.h Linux: Define TIMER_T_WAS_INT_COMPAT in kernel-posix-timers.h 2021-06-28 09:51:00 +02:00
ucontext_i.sym
vfork.S