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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to