|
Packit |
6c4009 |
# See scripts/check-localplt.awk for how this file is processed.
|
|
Packit |
6c4009 |
# PLT use is required for the malloc family and for matherr because
|
|
Packit |
6c4009 |
# users can define their own functions and have library internals call them.
|
|
Packit |
6c4009 |
# Linker in binutils 2.26 and newer consolidates R_X86_64_JUMP_SLOT
|
|
Packit |
6c4009 |
# relocation with R_386_GLOB_DAT relocation against the same symbol.
|
|
Packit |
6c4009 |
libc.so: calloc + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
libc.so: free + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
libc.so: malloc + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
libc.so: memalign + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
libc.so: realloc + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
libm.so: matherr + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
# The TLS-enabled version of these functions is interposed from libc.so.
|
|
Packit |
6c4009 |
ld.so: _dl_signal_error + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
ld.so: _dl_catch_error + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
ld.so: _dl_signal_exception + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
ld.so: _dl_catch_exception + REL R_386_GLOB_DAT
|
|
Packit |
6c4009 |
# The dynamic linker has its own versions of basic functions for initial loading
|
|
Packit |
6c4009 |
# of shared libraries. These need to be overriden by libc once loaded.
|
|
Packit |
6c4009 |
ld.so: __open ?
|
|
Packit |
6c4009 |
ld.so: __open64
|
|
Packit |
6c4009 |
ld.so: __close
|
|
Packit |
6c4009 |
ld.so: __read
|
|
Packit |
6c4009 |
ld.so: __write
|
|
Packit |
6c4009 |
ld.so: __writev
|
|
Packit |
6c4009 |
ld.so: __libc_lseek64
|
|
Packit |
6c4009 |
ld.so: __mmap
|
|
Packit |
6c4009 |
ld.so: __fxstat64
|
|
Packit |
6c4009 |
ld.so: __xstat64
|
|
Packit |
6c4009 |
#ld.so: __access
|
|
Packit |
6c4009 |
ld.so: __access_noerrno
|
|
Packit |
6c4009 |
ld.so: __getpid
|
|
Packit |
6c4009 |
#ld.so: __getcwd
|
|
Packit |
6c4009 |
ld.so: __sbrk
|
|
Packit |
6c4009 |
ld.so: __strtoul_internal
|
|
Packit |
6c4009 |
#ld.so: _exit
|
|
Packit |
6c4009 |
ld.so: abort
|
|
Packit |
6c4009 |
ld.so: _hurd_intr_rpc_mach_msg
|
|
Packit |
6c4009 |
ld.so: __errno_location
|
|
Packit |
6c4009 |
# rtld_hidden is currently disabled to avoid having to special-case the
|
|
Packit |
6c4009 |
# functions above which do need a PLT. These are thus currently expected.
|
|
Packit |
6c4009 |
ld.so: _dl_allocate_tls
|
|
Packit |
6c4009 |
ld.so: _dl_allocate_tls_init
|
|
Packit |
6c4009 |
ld.so: _dl_exception_create
|
|
Packit |
6c4009 |
ld.so: _dl_exception_create_format
|
|
Packit |
6c4009 |
ld.so: _dl_exception_free
|
|
Packit Service |
9aca7b |
ld.so: _dl_fatal_printf
|
|
Packit |
6c4009 |
ld.so: _dl_find_dso_for_object
|
|
Packit |
6c4009 |
ld.so: _dl_init_first
|
|
Packit |
6c4009 |
ld.so: _dl_mcount
|
|
Packit |
6c4009 |
ld.so: ___tls_get_addr
|
|
Packit |
6c4009 |
ld.so: __tunable_get_val
|
|
Packit |
6c4009 |
#
|
|
Packit |
6c4009 |
# These should ideally be avoided, but is currently difficult
|
|
Packit |
6c4009 |
libc.so: siglongjmp ?
|
|
Packit |
6c4009 |
libc.so: longjmp ?
|
|
Packit |
6c4009 |
# This is from lseek.c
|
|
Packit |
6c4009 |
libc.so: __libc_lseek64 ?
|
|
Packit |
6c4009 |
# This is through cleanup_region_start from vfprintf.c
|
|
Packit |
6c4009 |
libc.so: _IO_funlockfile ?
|