1
0
mirror of https://git.musl-libc.org/git/musl synced 2025-10-05 21:12:41 +02:00

ldso: fix typo in comment

This commit is contained in:
J. Neuschäfer
2024-10-23 14:46:39 +02:00
committed by Rich Felker
parent 86373b4999
commit 18289e5dea

View File

@@ -45,7 +45,7 @@ hidden void _dlstart_c(size_t *sp, size_t *dynv)
/* If dynv is null, the entry point was started from loader
* that is not fdpic-aware. We can assume normal fixed-
* displacement ELF loading was performed, but when ldso was
* run as a command, finding the Ehdr is a heursitic: we
* run as a command, finding the Ehdr is a heuristic: we
* have to assume Phdrs start in the first 4k of the file. */
base = aux[AT_BASE];
if (!base) base = aux[AT_PHDR] & -4096;