Re: [patch] Fix separate-debug with non-unique section names (PR 11409)

Tom Tromey
2010-03-24T20:37:44Z

>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> complain that the two files do not match: 7=.gnu.version 5=.dynstr

This seems to undermine the assumption that sections in the .debug file
are in the same order as in the main file.

Jan> Not sure how this algorithm could be improved to cope with it.

Can we stably sort the sections by name, using the initial index as a
secondary key?

Tom