mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-03 18:31:04 +00:00
3944c61bdf
and add _nocancel variants. * sysdeps/mach/hurd/pread64.c (__libc_pread64): Call __pread64_nocancel surrounded by enabling async cancel, to replace implementation moved to... * sysdeps/mach/hurd/pread64_nocancel.c (__pread64_nocancel): ... here. * sysdeps/mach/hurd/read.c (__libc_read): Call __read_nocancel surrounded by enabling async cancel, to replace implementation moved to... * sysdeps/mach/hurd/read_nocancel.c (__read_nocancel): ... here. * sysdeps/mach/hurd/Makefile (sysdep_routines): Add read_nocancel and pread64_nocancel. * sysdeps/mach/hurd/not-cancel.h (__read_nocancel, __pread64_nocancel): Replace macros with prototypes with a hidden proto on libc. * sysdeps/mach/hurd/dl-sysdep.c: Include <not-cancel.h>. (__pread64_nocancel): New alias, check that it is not hidden. (__read_nocancel): New alias, check that it is not hidden. * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add __read_nocancel and __pread64_nocancel. (ld.GLIBC_2.1): Add __pread64. (ld.GLIBC_PRIVATE): Add __read_nocancel and __pread64_nocancel. * sysdeps/mach/hurd/i386/ld.abilist (__pread64): Add symbol. * sysdeps/mach/hurd/i386/localplt.data (__read_nocancel, __pread64, __pread64_nocancel): Add references.
63 lines
2.0 KiB
Plaintext
63 lines
2.0 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.
|
|
# 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: memalign + REL R_386_GLOB_DAT
|
|
libc.so: realloc + REL R_386_GLOB_DAT
|
|
libm.so: matherr + REL R_386_GLOB_DAT
|
|
# The TLS-enabled version of these functions is interposed from libc.so.
|
|
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
|
|
# 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: __open64
|
|
ld.so: __close
|
|
ld.so: __read ?
|
|
ld.so: __read_nocancel
|
|
ld.so: __pread64
|
|
ld.so: __pread64_nocancel
|
|
ld.so: __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_fatal_printf
|
|
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
|
|
#
|
|
# 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 ?
|