2018-04-02 21:43:33 +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.
|
2018-06-19 00:32:41 +00:00
|
|
|
# Linker in binutils 2.26 and newer consolidates R_X86_64_JUMP_SLOT
|
|
|
|
# relocation with R_386_GLOB_DAT relocation against the same symbol.
|
|
|
|
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: realloc + REL R_386_GLOB_DAT
|
|
|
|
libm.so: matherr + REL R_386_GLOB_DAT
|
2018-04-02 21:43:33 +00:00
|
|
|
# The TLS-enabled version of these functions is interposed from libc.so.
|
2018-06-19 00:32:41 +00:00
|
|
|
ld.so: _dl_signal_error + REL R_386_GLOB_DAT
|
|
|
|
ld.so: _dl_catch_error + REL R_386_GLOB_DAT
|
|
|
|
ld.so: _dl_signal_exception + REL R_386_GLOB_DAT
|
|
|
|
ld.so: _dl_catch_exception + REL R_386_GLOB_DAT
|
2018-04-02 21:02:02 +00:00
|
|
|
# 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.
|
2018-06-15 23:49:29 +00:00
|
|
|
ld.so: __open ?
|
2020-06-28 14:27:36 +00:00
|
|
|
ld.so: __open64 ?
|
|
|
|
ld.so: __open_nocancel
|
2020-06-28 15:51:40 +00:00
|
|
|
ld.so: __close ?
|
|
|
|
ld.so: __close_nocancel
|
2020-06-07 23:16:46 +00:00
|
|
|
ld.so: __read ?
|
|
|
|
ld.so: __read_nocancel
|
|
|
|
ld.so: __pread64
|
|
|
|
ld.so: __pread64_nocancel
|
2020-06-14 15:50:44 +00:00
|
|
|
ld.so: __write ?
|
|
|
|
ld.so: __write_nocancel
|
2018-07-27 09:18:29 +00:00
|
|
|
ld.so: __writev
|
2018-04-02 21:02:02 +00:00
|
|
|
ld.so: __libc_lseek64
|
2018-04-02 21:43:33 +00:00
|
|
|
ld.so: __mmap
|
2020-11-11 22:47:13 +00:00
|
|
|
ld.so: __fstat64
|
|
|
|
ld.so: __stat64
|
2019-12-01 20:52:39 +00:00
|
|
|
ld.so: __access
|
2018-07-28 13:12:42 +00:00
|
|
|
ld.so: __access_noerrno
|
2018-04-02 21:02:02 +00:00
|
|
|
ld.so: __getpid
|
2019-12-01 20:48:46 +00:00
|
|
|
ld.so: __getcwd
|
2020-11-10 23:35:19 +00:00
|
|
|
ld.so: _exit ?
|
2018-04-02 21:02:02 +00:00
|
|
|
ld.so: abort
|
|
|
|
ld.so: _hurd_intr_rpc_mach_msg
|
2018-04-02 21:32:48 +00:00
|
|
|
ld.so: __errno_location
|
2018-04-02 21:47:56 +00:00
|
|
|
ld.so: _dl_init_first
|
2018-06-19 00:37:23 +00:00
|
|
|
#
|
2018-06-16 00:59:14 +00:00
|
|
|
# These should ideally be avoided, but is currently difficult
|
|
|
|
libc.so: siglongjmp ?
|
|
|
|
libc.so: longjmp ?
|
|
|
|
# This is from lseek.c
|
|
|
|
libc.so: __libc_lseek64 ?
|
|
|
|
# This is through cleanup_region_start from vfprintf.c
|
|
|
|
libc.so: _IO_funlockfile ?
|