Re: Is that a kernel bug?

Roland McGrath (roland@frob.com)
Sat, 22 Nov 1997 20:04:55 -0500


> How does it work? If the kernel maps an ELF file by its e_type value,
> where will the ld.so be mapped to if we make it ET_EXEC?

I believe Richard's suggestion was to make a special debugging copy ET_EXEC
instead of ET_DYN, and then the kernel will load it at 0 + p_va, which is
what gdb thinks is the right va if you just do `gdb ld.so'.