[Rpm-maint] [PATCH] Support eu-strip --reloc-debug-sections with find-debuginfo -r
pmatilai at laiskiainen.org
Thu May 26 07:36:01 UTC 2011
On 05/26/2011 12:36 AM, Mark Wielaard wrote:
> The attached patch adds an -r argument flag to find-debuginfo. When that
> flag is given then find-debuginfo will invoke eu-strip with
> --reloc-debug-sections. This is a new option to eu-strip that strips
> out/resolves relocations between .debug_* elf sections in ET_REL files.
> This can save a lot of space for kernel module. For example rebuilding
> kernel-debuginfo-184.108.40.206-91.fc14.x86_64 showed a nice reduction in
> size when using find-debuginfo -r with a new eu-strip from elfutils was
> Before: Compressed: 238 M Expanded: 1381 M
> After : Compressed: 207 M Expanded: 908 M
That's quite a saving indeed.
> Please let me know if this patch needs to be done in some different way.
Looks fine to me as it only adds support for the new option without
defaulting to it (the option to eu-strip seems /very/ new as it's not in
F15 even :). Applied (I edited the commit message a bit to include the
rationale about space saving), thanks for the patch.
- Panu -
More information about the Rpm-maint