ld.so: Don't try to read own ELF headers on startup
authorMark Seaborn <mrs@mythic-beasts.com>
Thu, 28 Jan 2010 16:17:04 +0000 (16:17 +0000)
committerMark Seaborn <mrs@mythic-beasts.com>
Thu, 28 Jan 2010 16:17:04 +0000 (16:17 +0000)
commit914487dafeb63420263d94ed22af2cc0f4fdf023
treeb0e25b75a05ad7c2fb1879c82e13f96ba4f6fa19
parent2a55711b1621b4b70161286f02addb9b68a84f36
ld.so: Don't try to read own ELF headers on startup

The ELF headers will not be mapped under NaCl.
This means the RELRO feature won't work on ld.so.
It will likely break dl_iterate_phdr() too.
elf/rtld.c