PR 21266, unstable qsort in bfd/elf64-ppc.c
PR 21266 * elf64-ppc.c (compare_symbols): Stabilize sort.
This commit is contained in:
parent
84e8538ee3
commit
aaed6f5be3
@ -1,3 +1,8 @@
|
||||
2017-03-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 21266
|
||||
* elf64-ppc.c (compare_symbols): Stabilize sort.
|
||||
|
||||
2017-03-18 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf64-ppc.c (struct ppc_link_hash_table): Add
|
||||
|
@ -3188,7 +3188,7 @@ compare_symbols (const void *ap, const void *bp)
|
||||
if ((a->flags & BSF_DYNAMIC) == 0 && (b->flags & BSF_DYNAMIC) != 0)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
return a > b;
|
||||
}
|
||||
|
||||
/* Search SYMS for a symbol of the given VALUE. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user