Make the simulator load the ELF program header pointed to by __ehdr_start
William Tambe via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAF8i9mO0tc4TtzGt6bcdK4_famF0_BC-=Hnv1_YGJf8aOc5cNQ@mail.gmail.com> |
Read from glibc source file libc-start.c: Starting from binutils-2.23, the linker will define the magic symbol __ehdr_start to point to our own ELF header if it is visible in a segment that also includes the phdrs. Is there a way to make the simulator load the ELF program header pointed to by __ehdr_start ?