aboutsummaryrefslogtreecommitdiff
path: root/ltversion.m4
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-09-16 18:07:03 +0930
committerAlan Modra <amodra@gmail.com>2015-09-16 21:53:21 +0930
commitbca6d0e3195217576b39fa1205469e1d578b386a (patch)
treeab1d9e19916057e046fe381d29fdf12426f61b2a /ltversion.m4
parent25bc8a24e4d5f7f7ba4cafc1ffd8499b18a3c842 (diff)
downloadgdb-bca6d0e3195217576b39fa1205469e1d578b386a.zip
gdb-bca6d0e3195217576b39fa1205469e1d578b386a.tar.gz
gdb-bca6d0e3195217576b39fa1205469e1d578b386a.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 'ltversion.m4')
0 files changed, 0 insertions, 0 deletions