aboutsummaryrefslogtreecommitdiff
path: root/opcodes/openrisc-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-09-16 18:07:03 +0930
committerAlan Modra <amodra@gmail.com>2018-03-06 18:25:01 +1030
commitfb375cb026777c18559764e5fe11bd576d21e5d4 (patch)
treeb46d3d2957fc96dbe76e275a86a051fd7630919f /opcodes/openrisc-dis.c
parent4b26e4deb00cb25c7b83f0feccd1e9b23b41db20 (diff)
downloadgdb-fb375cb026777c18559764e5fe11bd576d21e5d4.zip
gdb-fb375cb026777c18559764e5fe11bd576d21e5d4.tar.gz
gdb-fb375cb026777c18559764e5fe11bd576d21e5d4.tar.bz2
Fix slowdown in ld -r for most common case of out-of-order relocs
I chose insertion sort since relocs are mostly sorted, but there is a common case we can handle better; A run of relocs put out of order due to not linking input files in order. PR 18867 * elflink.c (elf_link_adjust_relocs): Modify insertion sort to insert a run. Return status in case of malloc failure. Adjust callers.
Diffstat (limited to 'opcodes/openrisc-dis.c')
0 files changed, 0 insertions, 0 deletions