]> sourceware.org Git - debugedit.git/commit
Add find-debuginfo.sh -m minisymtab support.
authorMark Wielaard <mjw@redhat.com>
Tue, 14 Jun 2016 15:07:08 +0000 (17:07 +0200)
committerFlorian Festi <ffesti@redhat.com>
Fri, 29 Jul 2016 16:28:53 +0000 (18:28 +0200)
commit79b22344ac16d73c3f697321e652d0987c5f627c
treecf4fcf1b2e22dbc7da16a5c03803c3d56b9ad67a
parent0cd41e6bf60de6fef01334f10a37c3ecfc95abd6
Add find-debuginfo.sh -m minisymtab support.

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.

The patch adjusts macros 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 testcases a new macros.debug is added that is used to
generate debuginfo packages in the rpmbuild.at testsuite.

The original support was added to Fedora rpm by Alexander Larsson.
Lubos Kardos fixed a bug in it when strip -g was used. I added some
configuration macros and two testcases to check the basic support works
and for the strip -g bug.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
scripts/find-debuginfo.sh
This page took 0.023013 seconds and 5 git commands to generate.