On Sat, 24 Dec 2005 00:52:46 +0100
"Diego 'Flameeyes' Pettenò" <[EMAIL PROTECTED]> wrote:

> Actually, if the binaries are not stripped, they consume more memory.

I'm still convinced this is untrue (apart from disk space).  Debug
symbols are not part of the executable view.  The kernel & loader map
PT_LOAD sections, which do not include the debug symbols.  Indeed debug
segments don't have a load address, so the loader won't know where to
put them if it does. Compare and contrast the output of 'readelf
-l' (which shows the program headers - in particular look at the
PT_LOAD sections) and 'readelf -s' (which shows all segments).

If any one can point me to code in the kernel or loader that maps debug
symbol sections I'm sure many would be interested.

-- 
Kevin F. Quinn

-- 
gentoo-dev@gentoo.org mailing list

Reply via email to