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:
committed by
Rich Felker
parent
86373b4999
commit
18289e5dea
@@ -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;
|
||||
|
Reference in New Issue
Block a user