glibc/sysdeps/unix/sysv/linux/powerpc
Siddhesh Poyarekar 2d2d9f2b48 Move malloc hooks into a compat DSO
Remove all malloc hook uses from core malloc functions and move it
into a new library libc_malloc_debug.so.  With this, the hooks now no
longer have any effect on the core library.

libc_malloc_debug.so is a malloc interposer that needs to be preloaded
to get hooks functionality back so that the debugging features that
depend on the hooks, i.e. malloc-check, mcheck and mtrace work again.
Without the preloaded DSO these debugging features will be nops.
These features will be ported away from hooks in subsequent patches.

Similarly, legacy applications that need hooks functionality need to
preload libc_malloc_debug.so.

The symbols exported by libc_malloc_debug.so are maintained at exactly
the same version as libc.so.

Finally, static binaries will no longer be able to use malloc
debugging features since they cannot preload the debugging DSO.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2021-07-22 18:37:59 +05:30
..
bits Define PTHREAD_STACK_MIN to sysconf(_SC_THREAD_STACK_MIN) 2021-07-09 15:10:35 -07:00
powerpc32 Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
powerpc64 Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
sys Add more ptrace constants for AArch64 and PowerPC. 2021-02-08 22:47:04 +00:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac configure: Replaced obsolete AC_TRY_COMPILE 2021-06-04 10:16:00 -03:00
dl-auxv.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
dl-cache.h
elision-conf.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-conf.h nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-lock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
elision-trylock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-unlock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
get_timebase_freq.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gettimeofday.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
htm.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
ioctl.c misc: Add time64 alias for ioctl 2021-07-21 11:58:09 +02:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
kernel_sigaction.h m68k: Fix sigaction kernel definition (BZ #23960) 2018-12-18 16:45:10 -02:00
kernel_termios.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
kernel-features.h linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
ldconfig.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ldd-rewrite.sed
libc-start.c Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
libc-start.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
libc-vdso.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
libpthread-compat.c nptl: Move pthread_attr_setstacksize into libc 2021-05-11 19:33:20 +02:00
Makefile nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
nldbl-abi.h
pthread_attr_setstack.c PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files. 2014-05-26 11:45:14 -05:00
pthread_attr_setstacksize.c PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files. 2014-05-26 11:45:14 -05:00
readelflib.c ldconfig/x86: Store ISA level in cache and aux cache 2021-01-13 05:51:17 -08:00
rt-sysdep.c
rtld_static_init.h powerpc: Remove _dl_var_init 2021-05-17 10:08:17 +02:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
socket-constants-time64.h linux: Add fallback for 64-bit time_t SO_TIMESTAMP{NS} 2021-06-15 10:42:06 -03:00
struct_kernel_shmid64_ds.h sysv: linux: Add 64-bit time_t variant for shmctl 2020-07-09 12:05:47 -03:00
syscall.S Add build option to disable usage of scv on powerpc 2021-06-10 16:23:25 -03:00
sysconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sysdep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sysdep.h Add build option to disable usage of scv on powerpc 2021-06-10 16:23:25 -03:00
test-gettimebasefreq-static.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-gettimebasefreq.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-powerpc-linux-sysconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
time.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions Add missing symbols to Version files 2021-06-02 07:32:19 +02:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00