On Wed, Apr 18, 2012 at 02:26:45PM +0200, Jakub Jelinek wrote:
> Of course there is a lot of DWARF duplication in between different
> libraries, or binaries, or e.g. Linux kernel modules (which have the
> added problem that they have relocations against the sections; we could
> apply and remove the relocations against .debug_* sections (and do string
> merging of .debug_str at the same time) there as first step, but there would
> be still relocations against the module .text/.data etc.).

BTW. We do now remove the relocations against .debug_* sections in Fedora
(using rpm >= 4.9 and elfutils >= 0.153) and that saves a lot of space:
http://lists.fedoraproject.org/pipermail/kernel/2012-February/003665.html
"This saves ~500MB on the installed size of the kernel-debuginfo
package and makes the rpm file ~30MB smaller"

Cheers,

Mark

Reply via email to