bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/22136] Support marking "debug" info files with special ET_


From: hjl.tools at gmail dot com
Subject: [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.
Date: Fri, 15 Sep 2017 20:10:38 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22136

--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Mark Wielaard from comment #13)
> (In reply to H.J. Lu from comment #11)
> > So the problem is the invalid .dynamic section.  Can we just drop
> > .dynamic section with "objcopy --only-keep-debug"
> 
> No. The phdrs in a separate debug file are identical to the phdrs from the
> main ELF file. That is why you need a marker in the ELF header to know
> whether or not to "trust" the phdrs. In a separate debug file you will need
> to find information through the shdrs.

Anything else besides "identical to the phdrs"?  Must .dynamic section have
the identical section contents in debug info file?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]