mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 09:40:13 +00:00
d3d9c95aef
Linker in binutils 2.26 and newer generate GOT references instead PLT references when -z now is passed to linker. We need to extend scripts/localplt.awk to allow PLT or GOT references. [BZ #19007] * scripts/localplt.awk: Also allow GOT references. * sysdeps/unix/sysv/linux/i386/localplt.data: Mark _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign with "+ REL R_386_GLOB_DAT". * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18 lines
746 B
Plaintext
18 lines
746 B
Plaintext
# 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: _Unwind_Find_FDE + REL R_386_GLOB_DAT
|
|
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
|
|
# The dynamic loader uses __libc_memalign internally to allocate aligned
|
|
# TLS storage. The other malloc family of functions are expected to allow
|
|
# user symbol interposition.
|
|
ld.so: __libc_memalign + REL R_386_GLOB_DAT
|
|
ld.so: malloc + REL R_386_GLOB_DAT
|
|
ld.so: calloc + REL R_386_GLOB_DAT
|
|
ld.so: realloc + REL R_386_GLOB_DAT
|
|
ld.so: free + REL R_386_GLOB_DAT
|