diff options
author | David Kilroy <David.Kilroy@arm.com> | 2020-02-12 14:31:17 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-02-12 14:31:17 -0300 |
commit | 0a8ce6a0966283b17f373f430929bcadef1ae205 (patch) | |
tree | 1accd067979817da9a8c1fffb683d35fb36f3635 /benchtests/thread_create-inputs | |
parent | 71bcfa62451dfaa015326d3524f2a0e2d09d80ed (diff) | |
download | glibc-0a8ce6a0966283b17f373f430929bcadef1ae205.tar.gz glibc-0a8ce6a0966283b17f373f430929bcadef1ae205.tar.xz glibc-0a8ce6a0966283b17f373f430929bcadef1ae205.zip |
elf: avoid stack allocation in dl_open_worker
As the sort was removed, there's no need to keep a separate map of links. Instead, when relocating objects iterate over l_initfini directly. This allows us to remove the loop copying l_initfini elements into map. We still need a loop to identify the first and last elements that need relocation. Tested by running the testsuite on x86_64.
Diffstat (limited to 'benchtests/thread_create-inputs')
0 files changed, 0 insertions, 0 deletions