diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-07-22 18:38:06 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-07-22 18:38:06 +0530 |
commit | 9dad716d4d2993f50b165747781244bd7c43bc95 (patch) | |
tree | bdd9025b5b9871f75239f7a3f6e86f4c0401eafb /sysdeps/mach/hurd | |
parent | cc35896ea3e4532919ec81b17f36299117debe79 (diff) | |
download | glibc-9dad716d4d2993f50b165747781244bd7c43bc95.tar glibc-9dad716d4d2993f50b165747781244bd7c43bc95.tar.gz glibc-9dad716d4d2993f50b165747781244bd7c43bc95.tar.bz2 glibc-9dad716d4d2993f50b165747781244bd7c43bc95.zip |
mtrace: Wean away from malloc hooks
Wean mtrace away from the malloc hooks and move them into the debug
DSO. Split the API away from the implementation so that we can add
the API to libc.so as well as libc_malloc_debug.so, with the libc
implementations being empty.
Update localplt data since memalign no longer has any callers after
this change.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/i386/libc_malloc_debug.abilist | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/i386/localplt.data | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/i386/libc_malloc_debug.abilist b/sysdeps/mach/hurd/i386/libc_malloc_debug.abilist index c5e1192b27..798d3ae8a3 100644 --- a/sysdeps/mach/hurd/i386/libc_malloc_debug.abilist +++ b/sysdeps/mach/hurd/i386/libc_malloc_debug.abilist @@ -11,6 +11,8 @@ GLIBC_2.2.6 mcheck_check_all F GLIBC_2.2.6 mcheck_pedantic F GLIBC_2.2.6 memalign F GLIBC_2.2.6 mprobe F +GLIBC_2.2.6 mtrace F +GLIBC_2.2.6 muntrace F GLIBC_2.2.6 posix_memalign F GLIBC_2.2.6 pvalloc F GLIBC_2.2.6 realloc F diff --git a/sysdeps/mach/hurd/i386/localplt.data b/sysdeps/mach/hurd/i386/localplt.data index 94064ecbc5..47fbe1e2a7 100644 --- a/sysdeps/mach/hurd/i386/localplt.data +++ b/sysdeps/mach/hurd/i386/localplt.data @@ -6,7 +6,6 @@ libc.so: calloc + REL R_386_GLOB_DAT libc.so: free + REL R_386_GLOB_DAT libc.so: malloc + REL R_386_GLOB_DAT -libc.so: memalign + REL R_386_GLOB_DAT libc.so: realloc + REL R_386_GLOB_DAT libm.so: matherr + REL R_386_GLOB_DAT # The TLS-enabled version of these functions is interposed from libc.so. |