ldso: fix typo in comment

This commit is contained in:
J. Neuschäfer
2025-06-13 14:30:35 -04:00
committed by Rich Felker
parent 86373b4999
commit 18289e5dea
+1 -1
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 /* If dynv is null, the entry point was started from loader
* that is not fdpic-aware. We can assume normal fixed- * that is not fdpic-aware. We can assume normal fixed-
* displacement ELF loading was performed, but when ldso was * 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. */ * have to assume Phdrs start in the first 4k of the file. */
base = aux[AT_BASE]; base = aux[AT_BASE];
if (!base) base = aux[AT_PHDR] & -4096; if (!base) base = aux[AT_PHDR] & -4096;