Gentoo Archives: gentoo-dev

From: "Kevin F. Quinn" <kevquinn@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Optimizing performance
Date: Sat, 24 Dec 2005 11:35:34
Message-Id: 20051224123739.0417e95d@c1358217.kevquinn.com
In Reply to: Re: [gentoo-dev] Optimizing performance by "Diego 'Flameeyes' Pettenò"
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

Replies

Subject Author
Re: [gentoo-dev] Optimizing performance "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>