glibc/sysdeps
Adhemerval Zanella baf2a265c7 misc: Optimize internal usage of __libc_single_threaded
By adding an internal alias to avoid the GOT indirection.
On some architecture, __libc_single_thread may be accessed through
copy relocations and thus it requires to update also the copies
default copy.

This is done by adding a new internal macro,
libc_hidden_data_{proto,def}, which has an addition argument that
specifies the alias name (instead of default __GI_ one).

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Fangrui Song <maskray@google.com>
2022-06-24 17:45:58 -03:00
..
aarch64 aarch64: Handle fewer relocations for RTLD_BOOTSTRAP 2022-06-15 19:21:53 -07:00
alpha alpha: Remove _dl_skip_args usage 2022-05-30 16:32:22 -03:00
arc elf: Remove ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA 2022-06-15 11:29:55 -07:00
arm Add bounds check to __libc_ifunc_impl_list 2022-06-10 17:13:29 +01:00
csky csky: Remove _dl_skip_args usage 2022-05-30 16:32:33 -03:00
generic elf: Remove ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA 2022-06-15 11:29:55 -07:00
gnu
hppa hppa: Remove _dl_skip_args usage (BZ# 29165) 2022-05-30 16:32:35 -03:00
htl
hurd
i386 i386: Fix include paths for strspn, strcspn, and strpbrk 2022-06-17 16:25:27 -07:00
ia64 grep: egrep -> grep -E, fgrep -> grep -F 2022-06-05 12:09:02 -07:00
ieee754 i686: Use generic sincosf implementation for SSE2 version 2022-06-01 10:47:44 -03:00
m68k m68k: Remove _dl_skip_args usage 2022-05-30 16:33:11 -03:00
mach elf: Remove _dl_skip_args 2022-05-30 16:33:54 -03:00
microblaze microblaze: Remove _dl_skip_args usage 2022-05-30 16:33:14 -03:00
mips mips: Remove _dl_skip_args usage 2022-05-30 16:33:16 -03:00
nios2 Remove remnant reference to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA 2022-06-15 13:02:17 -07:00
nptl misc: Optimize internal usage of __libc_single_threaded 2022-06-24 17:45:58 -03:00
or1k
posix socket: Use 64 bit stat for isfdtype (BZ# 29209) 2022-06-01 13:23:16 -03:00
powerpc Add bounds check to __libc_ifunc_impl_list 2022-06-10 17:13:29 +01:00
pthread nptl: Fix __libc_cleanup_pop_restore asynchronous restore (BZ#29214) 2022-06-08 09:23:02 -03:00
riscv riscv: Use elf_machine_rela_relative to handle R_RISCV_RELATIVE 2022-06-23 21:07:19 -07:00
s390 s390: use LC_ALL=C for readelf call 2022-06-21 10:16:44 +02:00
sh sh: Remove _dl_skip_args usage 2022-05-30 16:33:28 -03:00
sparc Add bounds check to __libc_ifunc_impl_list 2022-06-10 17:13:29 +01:00
unix linux: Add move_mount 2022-06-24 16:03:38 -03:00
wordsize-32
wordsize-64
x86 x86: Add defines / utilities for making ISA specific x86 builds 2022-06-22 19:41:35 -07:00
x86_64 x86: Remove faulty sanity tests for RTLD build with no multiarch 2022-06-23 11:14:08 -07:00