https://sourceware.org/bugzilla/show_bug.cgi?id=22136
--- Comment #18 from Mark Wielaard <mark at klomp dot org> --- (In reply to H.J. Lu from comment #16) > (In reply to Mark Wielaard from comment #15) > > (In reply to H.J. Lu from comment #14) > > > Anything else besides "identical to the phdrs"? Must .dynamic section > > > have > > > the identical section contents in debug info file? > > > > Allocated sections are NOBITS in a separate debug file. > > I checked libfoo.so against the output of "objcopy --only-keep-debug". > Their program headers are different: That might be a bug. See e.g. eu-strip -f which keeps them intact. And eu-unstrip depends on this for example. Anyway, the point is that you are not supposed to use the phdrs offsets of the separate debug file. So you need some marker in the ELF header to indicate what kind of ELF file it is. -- 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