diff options
| author | Florian Weimer <fweimer@redhat.com> | 2024-09-24 13:23:10 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2024-09-24 13:23:10 +0200 |
| commit | 2abfa1907218c5ec9d52bb81bee3f1af652f67c7 (patch) | |
| tree | f22efdd1ff57848090fd5e79e80f559b75767662 /scripts/check-execstack.awk | |
| parent | 9802c0f2fec787ffcd192e1f2d6871dc586c6dad (diff) | |
| download | glibc-2abfa1907218c5ec9d52bb81bee3f1af652f67c7.tar.xz glibc-2abfa1907218c5ec9d52bb81bee3f1af652f67c7.zip | |
elf: Move __rtld_malloc_init_stubs call into _dl_start_final
Calling an extern function in a different translation unit before
self-relocation is brittle. The compiler may load the address
at an earlier point in _dl_start, before self-relocation. In
_dl_start_final, the call is behind a compiler barrier, so this
cannot happen.
Diffstat (limited to 'scripts/check-execstack.awk')
0 files changed, 0 insertions, 0 deletions
