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: mark at klomp dot org
Subject: [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.
Date: Fri, 15 Sep 2017 20:07:00 +0000

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

--- Comment #13 from Mark Wielaard <mark at klomp dot org> ---
(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.

-- 
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]