[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/24249] Section offsets not monotonically increasing



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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.