[Rpm-maint] [PATCH] Support eu-strip --reloc-debug-sections with find-debuginfo -r

Mark Wielaard 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- 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...
Name: 0001-Add-r-flag-to-find-debuginfo.sh-to-invoke-eu-strip-r.patch
Type: text/x-patch
Size: 1999 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20110525/418d895f/attachment.bin>

More information about the Rpm-maint mailing list