aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-08-26 17:32:08 +0930
committerAlan Modra <amodra@gmail.com>2015-08-26 23:34:10 +0930
commit0e28778672160ee57d12fcc4f0e631122088fe69 (patch)
treeacc29a02c3b5e3a00d0aa0ad62d3bd74ed05ce67 /gdb
parentc97c330ba8e80776c546e5f562916bf077e358b3 (diff)
downloadgdb-0e28778672160ee57d12fcc4f0e631122088fe69.zip
gdb-0e28778672160ee57d12fcc4f0e631122088fe69.tar.gz
gdb-0e28778672160ee57d12fcc4f0e631122088fe69.tar.bz2
Use stable sort for ld -r relocs
A number of targets emit multiple relocs at a given r_offset, and depend on those relocs staying in their original order. PR 18867 * elflink.c (cmp_ext32l_r_offset, cmp_ext32b_r_offset): Delete. (cmp_ext64l_r_offset, cmp_ext64b_r_offset): Delete. (ext32l_r_offset, ext32b_r_offset, ext64l_r_offset, ext64b_r_offset): New functions. (elf_link_adjust_relocs): Use an insertion sort to sort relocs.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions