2012-11-09 17:53:51 +00:00
|
|
|
# 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: memalign
|
|
|
|
libc.so: realloc
|
|
|
|
libm.so: matherr
|
2016-11-30 15:23:58 +00:00
|
|
|
# The dynamic loader needs __tls_get_addr for TLS.
|
2014-11-06 20:48:44 +00:00
|
|
|
ld.so: __tls_get_addr
|
2016-11-30 15:23:58 +00:00
|
|
|
# The main malloc is interposed into the dynamic linker, for
|
|
|
|
# allocations after the initial link (when dlopen is used).
|
2014-11-06 20:48:44 +00:00
|
|
|
ld.so: malloc
|
|
|
|
ld.so: calloc
|
|
|
|
ld.so: realloc
|
|
|
|
ld.so: free
|
2016-11-30 14:59:57 +00:00
|
|
|
# The TLS-enabled version of these functions is interposed from libc.so.
|
|
|
|
ld.so: _dl_signal_error
|
|
|
|
ld.so: _dl_catch_error
|
2017-08-10 11:40:22 +00:00
|
|
|
ld.so: _dl_signal_exception
|
|
|
|
ld.so: _dl_catch_exception
|