aboutsummaryrefslogtreecommitdiff
path: root/gdb/tahoe-opcode.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-08-26 17:32:08 +0930
committerAlan Modra <amodra@gmail.com>2018-03-06 18:23:11 +1030
commiteb47bb4236a4e1c68572c60771f374a396b2fb13 (patch)
tree47580ac4a485894d0f300378f58600f380680557 /gdb/tahoe-opcode.h
parent582d4301840c637252ba50ed86cc3d75b8103037 (diff)
downloadgdb-eb47bb4236a4e1c68572c60771f374a396b2fb13.zip
gdb-eb47bb4236a4e1c68572c60771f374a396b2fb13.tar.gz
gdb-eb47bb4236a4e1c68572c60771f374a396b2fb13.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/tahoe-opcode.h')
0 files changed, 0 insertions, 0 deletions