lkml.org 
[lkml]   [1997]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Is that a kernel bug?
> 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'.

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.435 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site