Re: ELF program header table in MiniDebugInfo files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 04 Jun 2013 16:19:17 +0200, Martin Milata wrote:
> I noticed that the MiniDebugInfo files in Fedora 19
> (F18 too) have different ELF program header tables than the
> corresponding binaries and separate debuginfo files:

MiniDebugInfo files are symbol files only, they are not intended for
execution.  The same applies to the /usr/lib/debug/**.debug files; moreover
MiniDebugInfo file is generated from a /usr/lib/debug/**.debug file during
rpmbuild.

When you check ELF Executable and Linkable Format standard
	http://www.skyfree.org/linux/references/ELF_Format.pdf
Introduction - File Format: Linking View uses sections vs. Execution View uses
segments (=progam headers).

Debugging purposes use linking view.  This is also why /usr/lib/debug/**.debug
files do not have valid program headers and the same applies to MiniDebugInfo.

When looking at sections + ELF symbols addresses they all seem to be correct.


> My question is, is the table supposed to
> look like this and libunwind needs to be patched, or is it a bug?

Segments are irrelevant for symbols.


Regards,
Jan
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux