1 |
On Sat, 24 Dec 2005 00:52:46 +0100 |
2 |
"Diego 'Flameeyes' Pettenò" <flameeyes@g.o> wrote: |
3 |
|
4 |
> Actually, if the binaries are not stripped, they consume more memory. |
5 |
|
6 |
I'm still convinced this is untrue (apart from disk space). Debug |
7 |
symbols are not part of the executable view. The kernel & loader map |
8 |
PT_LOAD sections, which do not include the debug symbols. Indeed debug |
9 |
segments don't have a load address, so the loader won't know where to |
10 |
put them if it does. Compare and contrast the output of 'readelf |
11 |
-l' (which shows the program headers - in particular look at the |
12 |
PT_LOAD sections) and 'readelf -s' (which shows all segments). |
13 |
|
14 |
If any one can point me to code in the kernel or loader that maps debug |
15 |
symbol sections I'm sure many would be interested. |
16 |
|
17 |
-- |
18 |
Kevin F. Quinn |
19 |
|
20 |
-- |
21 |
gentoo-dev@g.o mailing list |