aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-09-23 09:06:49 -0700
committerFlorian Weimer <fweimer@redhat.com>2021-11-03 07:53:12 +0100
commit5f36e5c70107ecb59281ef57f9f1c0e37ec3076d (patch)
treee423895929ae4c120a637dee7b2002be0b282e2d /scripts/cpp
parentf42373f911a28d34325a5bfc1ed5a962c89da7eb (diff)
downloadglibc-5f36e5c70107ecb59281ef57f9f1c0e37ec3076d.tar.xz
glibc-5f36e5c70107ecb59281ef57f9f1c0e37ec3076d.zip
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. (cherry picked from commit 2ec99d8c42b2ff1a1231e4df462a0910a9b7fdef)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions