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
hppa elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
htl
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
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
posix
powerpc elf: Fix dynamic-link.h usage on rtld.c 2021-10-14 14:52:07 -03:00
pthread
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
wordsize-64
x86
x86_64 x86-64: Add test-vector-abi.h/test-vector-abi-sincos.h 2021-10-14 11:59:12 -07:00