mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 04:31:03 +00:00
b04beebf07
It is no longer needed since commit 6c444ad6e9
(elf: Do not use memalign for TCB/TLS blocks allocation [BZ #17730]).
Applications do not link against ld.so and will use the definition in
libc.so, so there is no ABI impact.
21 lines
1019 B
Plaintext
21 lines
1019 B
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_X86_64_GLOB_DAT relocation against the same symbol.
|
|
libc.so: calloc + RELA R_X86_64_GLOB_DAT
|
|
libc.so: free + RELA R_X86_64_GLOB_DAT
|
|
libc.so: malloc + RELA R_X86_64_GLOB_DAT
|
|
libc.so: memalign + RELA R_X86_64_GLOB_DAT
|
|
libc.so: realloc + RELA R_X86_64_GLOB_DAT
|
|
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 + RELA R_X86_64_GLOB_DAT
|
|
ld.so: calloc + RELA R_X86_64_GLOB_DAT
|
|
ld.so: realloc + RELA R_X86_64_GLOB_DAT
|
|
ld.so: free + RELA R_X86_64_GLOB_DAT
|
|
# The TLS-enabled version of these functions is interposed from libc.so.
|
|
ld.so: _dl_signal_error + RELA R_X86_64_GLOB_DAT
|
|
ld.so: _dl_catch_error + RELA R_X86_64_GLOB_DAT
|