glibc/sysdeps
H.J. Lu 2ec99d8c42 ld.so: Initialize bootstrap_map.l_ld_readonly [BZ #28340]
1. Define DL_RO_DYN_SECTION to initalize bootstrap_map.l_ld_readonly
before calling elf_get_dynamic_info to get dynamic info in bootstrap_map,
2. Define a single

static inline bool
dl_relocate_ld (const struct link_map *l)
{
  /* Don't relocate dynamic section if it is readonly  */
  return !(l->l_ld_readonly || DL_RO_DYN_SECTION);
}

This updates BZ #28340 fix.
2021-10-19 06:40:38 -07:00
..
aarch64 elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
alpha elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
arc elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
arm elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
csky elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
generic ld.so: Initialize bootstrap_map.l_ld_readonly [BZ #28340] 2021-10-19 06:40:38 -07:00
gnu Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
hppa elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
htl htl: Reimplement GSCOPE 2021-09-16 01:04:17 +02:00
hurd
i386 elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
ia64 elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
ieee754 Fixed inaccuracy of j0f (BZ #28185) 2021-10-05 13:45:37 +02:00
m68k elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
mach hurd if_index: Explicitly use AF_INET for if index discovery 2021-10-18 01:39:02 +02:00
microblaze elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
mips ld.so: Initialize bootstrap_map.l_ld_readonly [BZ #28340] 2021-10-19 06:40:38 -07:00
nios2 elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
nptl nptl: Use FUTEX_LOCK_PI2 when available 2021-10-01 08:09:13 -03:00
posix posix: Remove spawni.c 2021-09-27 12:44:25 -03:00
powerpc elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
pthread elf: Avoid deadlock between pthread_create and ctors [BZ #28357] 2021-10-04 15:07:05 +01:00
riscv ld.so: Initialize bootstrap_map.l_ld_readonly [BZ #28340] 2021-10-19 06:40:38 -07:00
s390 elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
sh elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
sparc elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
unix timex: Use 64-bit fields on 32-bit TIMESIZE=64 systems (BZ #28469) 2021-10-18 17:17:20 -03:00
wordsize-32 Disable symbol hack in libc_nonshared.a 2021-09-27 07:46:25 -07:00
wordsize-64 Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
x86 elf: Remove Intel MPX support (lazy PLT, ld.so profile, and LD_AUDIT) 2021-10-11 11:14:02 -07:00
x86_64 x86-64: Add test-vector-abi.h/test-vector-abi-sincos.h 2021-10-14 11:59:12 -07:00