aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-12-11 17:30:49 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-12-11 17:35:16 +0000
commit751acde7ec335506b54e94ed6f2c998f6c0a22c6 (patch)
tree6af501bdcf3f2dea1bf5709eb7bb344f885cd875 /elf
parent9ffa50b26b0cb5d3043adf6d3d0b1ea735acc147 (diff)
downloadglibc-751acde7ec335506b54e94ed6f2c998f6c0a22c6.zip
glibc-751acde7ec335506b54e94ed6f2c998f6c0a22c6.tar.gz
glibc-751acde7ec335506b54e94ed6f2c998f6c0a22c6.tar.bz2
elf: Fix dl-load.c
Rebasing broke commit 38a3836011f3fe3290a94ab136dcb5f3c5c9f4e2 it was supposed to move code.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index e9afad5..755e92e 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1262,21 +1262,6 @@ _dl_map_object_from_fd (const char *name, const char *origname, int fd,
maplength, has_holes, loader);
if (__glibc_unlikely (errstring != NULL))
goto call_lose;
-
- /* Process program headers again after load segments are mapped in
- case processing requires accessing those segments. Scan program
- headers backward so that PT_NOTE can be skipped if PT_GNU_PROPERTY
- exits. */
- for (ph = &phdr[l->l_phnum]; ph != phdr; --ph)
- switch (ph[-1].p_type)
- {
- case PT_NOTE:
- _dl_process_pt_note (l, &ph[-1]);
- break;
- case PT_GNU_PROPERTY:
- _dl_process_pt_gnu_property (l, &ph[-1]);
- break;
- }
}
if (l->l_ld == 0)