[ was: Re: [Bug default/24249] Section offsets not monotonically increasing ] On 22-02-19 14:40, mark at klomp dot org wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=24249 > > Mark Wielaard changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |mark at klomp dot org > > --- Comment #11 from Mark Wielaard --- > (In reply to Tom de Vries from comment #10) >> (In reply to Jakub Jelinek from comment #9) >>> e.g. if we process *.debug files stripped into file >>> by objcopy or eu-strip, won't this shdr reordering then break the matching >>> between original binary and *.debug file? >> >> Indeed the ordering of entries in the section table in the original binary >> and the .debug file will not be the same. >> >> I'm not aware though of a tool that relies on this ordering to be the same. > > I think eu-unstrip does deal with differences in ordering, but you might want > to test whether it still works correctly. > I did not know eu-unstrip, thanks for letting me know. Committed two test-cases using dwz in combination with eu-strip and eu-unstrip. Thanks, - Tom