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

Reply via email to