glibc/sysdeps/unix/sysv/linux/mips/mips64
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
..
n32 Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
n64 Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
configure
configure.ac
fxstat64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fxstatat64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fxstatat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getdents64.c linux: mips: Fix getdents64 fallback on mips64-n32 2021-01-22 15:44:41 -03:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
kstat_cp.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ldconfig.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ldd-rewrite.sed
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist dlfcn: Move dlopen into libc 2021-06-03 08:26:04 +02:00
libm.abilist New exp10f version without SVID compat wrapper 2020-06-19 12:08:47 -03:00
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
libthread_db.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libutil.abilist login: Move libutil into libc 2021-06-30 08:43:37 +02:00
lxstat64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile nptl: Fix tst-cancel4 sendto tests 2018-03-05 18:09:08 -03:00
msgctl.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
semctl.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
shmctl.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
syscall.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sysdep.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
xstat64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00