Make the simulator load the ELF program header pointed to by __ehdr_start

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Make the simulator load the ELF program header pointed to by __ehdr_start

Sourceware - gdb list mailing list
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 ?