[Bug default/24249] Section offsets not monotonically increasing

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Jan 1 00:00:00 GMT 2019


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

--- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #7)
> This tentative patch fixes up the bad-quality input in fdopen_dso in a
> fairly orthogonal way, by sorting dso->shdr and dso->scn according to
> sh_offset, and updating dso->ehdr.e_shstrndx.

Review remark from Micha: If this patch changes order of the section header
table, then it should also update the section index member (st_shndx) of symbol
table entries.

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


More information about the Dwz mailing list