[Rpm-maint] [PATCH] Add find-debuginfo.sh -m minisymtab support.

Panu Matilainen pmatilai at laiskiainen.org
Wed May 11 19:29:46 UTC 2016


On 05/11/2016 05:41 PM, Mark Wielaard wrote:
> Support for minisymtab (a minimal function symbol table in a compressed
> section in the main binary) has been in gdb and elfutils based tools
> since some years. Fedora has had this as rpm-4.10.0-minidebuginfo.patch
> since 2012. I added two testcases to check the basic support works and
> for a bug found in an earlier version when strip -g was used.
>
> macros has been adjusted to pass -m to find-debuginfo.sh when
> _include_minidebuginfo has been set. find-debuginfo.sh now takes -m
> as argument to generate the .gnu_debugdata ELF section to be added
> to the main executable.
>
> To support the testcase a new macros.debug is added that is used to
> generate debuginfo packages in the rpmbuild.at testsuite.
>
> The original rpm-4.10.0-minidebuginfo.patch in Fedora was created by
> Panu Matilainen and Lubos Kardos.

Credit where credit is due: I merely added the patch into Fedora, 
minidebuginfo was actually implemented by Alexander Larsson, the 
original submission being here I think: 
http://lists.rpm.org/pipermail/rpm-maint/2012-June/003214.html

	- Panu -



More information about the Rpm-maint mailing list