]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Make elf section sorting more deterministic
authorUlf Hermann <ulf.hermann@qt.io>
Thu, 20 Apr 2017 14:54:26 +0000 (16:54 +0200)
committerMark Wielaard <mark@klomp.org>
Tue, 2 May 2017 22:28:08 +0000 (00:28 +0200)
commitd7e1e08f68afd6c3363231e3100fa0124a2d5cb6
tree1ab1a37a1bde59116b255cba07289c8ae4c98af4
parente88787f9cd2af5be00aa6f53320cf85f7c08f1f2
Make elf section sorting more deterministic

At least one test (dwfl-addr-sect) depends on the order of elf sections
with equal addresses. This is not guaranteed by the code. Compare also
by end address and section index to tell entries apart.

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
Signed-off-by: Mark Wielaard <mark@klomp.org>
libdwfl/ChangeLog
libdwfl/derelocate.c