mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
0552fd2c7d
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> |
||
---|---|---|
.. | ||
64 | ||
x32 | ||
____longjmp_chk.S | ||
__start_context.S | ||
clone3.S | ||
clone.S | ||
configure | ||
configure.ac | ||
dl-cache.h | ||
dl-procinfo.c | ||
dl-procinfo.h | ||
getcontext.S | ||
Implies | ||
kernel-features.h | ||
ldconfig.h | ||
ldd-rewrite.sed | ||
libc_sigaction.c | ||
libmvec.abilist | ||
makecontext.c | ||
Makefile | ||
register-dump.h | ||
setcontext.S | ||
sigaltstack-offsets.sym | ||
sigcontextinfo.h | ||
swapcontext.S | ||
syscall.S | ||
syscalls.list | ||
sysdep.h | ||
sysdep.S | ||
tst-glibc-hwcaps-2.c | ||
ucontext_i.sym | ||
Versions | ||
vfork.S | ||
x86-64-isa-level-VALUE.c |