[Rpm-maint] [PATCH] Support eu-strip --reloc-debug-sections with find-debuginfo -r
mjw at redhat.com
Wed May 25 21:36:16 UTC 2011
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-22.214.171.124-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
Please let me know if this patch needs to be done in some different way.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1999 bytes
Desc: not available
More information about the Rpm-maint