mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
9dad716d4d
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>
19 lines
662 B
Plaintext
19 lines
662 B
Plaintext
# See scripts/check-localplt.awk for how this file is processed.
|
|
# PLT use is required for the malloc family and for matherr because
|
|
# users can define their own functions and have library internals call them.
|
|
libc.so: calloc
|
|
libc.so: free
|
|
libc.so: malloc
|
|
libc.so: realloc
|
|
libm.so: matherr
|
|
# If outline atomics are used, libgcc (built outside of glibc) may
|
|
# call __getauxval using the PLT.
|
|
libc.so: __getauxval ?
|
|
# The dynamic loader needs __tls_get_addr for TLS.
|
|
ld.so: __tls_get_addr
|
|
# The TLS-enabled version of these functions is interposed from libc.so.
|
|
ld.so: _dl_signal_error
|
|
ld.so: _dl_catch_error
|
|
ld.so: _dl_signal_exception
|
|
ld.so: _dl_catch_exception
|