mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 06:50:07 +00:00
02008f8301
* sysdeps/mach/hurd/localplt.data (ld.so): Add _dl_allocate_tls, _dl_allocate_tls_init, _dl_exception_create, _dl_exception_create_format, _dl_exception_free, _dl_find_dso_for_object, _dl_init_first, _dl_mcount, ___tls_get_addr, __tunable_get_val.
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
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: memalign
|
|
libc.so: realloc
|
|
libm.so: matherr
|
|
# The main malloc is interposed into the dynamic linker, for
|
|
# allocations after the initial link (when dlopen is used).
|
|
ld.so: malloc
|
|
ld.so: calloc
|
|
ld.so: realloc
|
|
ld.so: free
|
|
# 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
|
|
# The dynamic linker has its own versions of basic functions for initial loading
|
|
# of shared libraries. These need to be overriden by libc once loaded.
|
|
ld.so: __open
|
|
ld.so: __close
|
|
ld.so: __libc_read
|
|
ld.so: __libc_write
|
|
#ld.so: __writev
|
|
ld.so: __libc_lseek64
|
|
ld.so: __mmap
|
|
ld.so: __fxstat64
|
|
ld.so: __xstat64
|
|
#ld.so: __access
|
|
#ld.so: __access_noerrno
|
|
ld.so: __getpid
|
|
#ld.so: __getcwd
|
|
#ld.so: __sbrk
|
|
#ld.so: __strtoul_internal
|
|
#ld.so: _exit
|
|
ld.so: abort
|
|
ld.so: _hurd_intr_rpc_mach_msg
|
|
ld.so: __errno_location
|
|
# rtld_hidden is currently disabled to avoid having to special-case the
|
|
# functions above which do need a PLT. These are thus currently expected.
|
|
ld.so: _dl_allocate_tls
|
|
ld.so: _dl_allocate_tls_init
|
|
ld.so: _dl_exception_create
|
|
ld.so: _dl_exception_create_format
|
|
ld.so: _dl_exception_free
|
|
ld.so: _dl_find_dso_for_object
|
|
ld.so: _dl_init_first
|
|
ld.so: _dl_mcount
|
|
ld.so: ___tls_get_addr
|
|
ld.so: __tunable_get_val
|