glibc/sysdeps/unix/sysv/linux/ia64
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 Define PTHREAD_STACK_MIN to sysconf(_SC_THREAD_STACK_MIN) 2021-07-09 15:10:35 -07:00
sys
Implies
Makefile ia64: Remove _dl_var_init 2021-05-17 10:08:09 +02:00
Versions Linux: Move timer_settime, __timer_settime64 from librt to libc 2021-06-28 09:51:01 +02:00
____longjmp_chk.S
__ia64_longjmp.S
__longjmp.S
__sigstack_longjmp.c
__start_context.S
arch-syscall.h Update syscall lists for Linux 5.13 2021-07-01 17:37:36 +00:00
brk.c ia64: Fix brk call on statup 2021-01-28 14:05:14 -03:00
bsd-_setjmp.S
bsd-setjmp.S
c++-types.data
clone.S
clone2.S
configure
configure.ac
dl-cache.h
dl-sysdep.h
getclktck.c
getcontext.S
ioperm.c
jmp_buf-macros.h
kernel-features.h
ld.abilist
ldconfig.h
ldd-rewrite.sed
libBrokenLocale.abilist
libanl.abilist resolv: Move libanl into libc (if libpthread is in libc) 2021-07-02 11:45:00 +02:00
libc.abilist Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
libc_malloc_debug.abilist Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
libcrypt.abilist
libdl.abilist dlfcn: Move dlopen into libc 2021-06-03 08:26:04 +02:00
libm.abilist Move __isnanf128 to libc.so 2021-03-30 14:58:19 +05:30
libnsl.abilist
libpthread.abilist nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
libresolv.abilist resolv: Move res_query functions into libc 2021-07-19 07:56:57 +02:00
librt.abilist Linux: Move timer_settime, __timer_settime64 from librt to libc 2021-06-28 09:51:01 +02:00
libthread_db.abilist
libutil.abilist login: Move libutil into libc 2021-06-30 08:43:37 +02:00
localplt.data mtrace: Wean away from malloc hooks 2021-07-22 18:38:06 +05:30
makecontext.c
mmap_internal.h
pipe.S
readelflib.c
register-dump.h
rt-sysdep.S
setcontext.S
setjmp.S
shlib-versions Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
sigaltstack-offsets.sym
sigcontext-offsets.sym
sigcontextinfo.h
swapcontext.c
syscall.S
syscalls.list linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
sysconf-sigstksz.h sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305] 2021-02-01 11:00:52 -08:00
sysdep.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
tst-setcontext2.c
tst-setcontext4.c
ucontext_i.h
unwind-dw2-fde.c
unwind_longjmp.c
vfork.S
wordexp.c
xstatver.h