bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18867] ld reloc sorting causes glibc to crash on alpha


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/18867] ld reloc sorting causes glibc to crash on alpha
Date: Fri, 18 Sep 2015 03:18:46 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18867

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_25-branch branch has been updated by Alan Modra
<address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9ad9e2c6fb404bdeb7489cab654575764ac6f791

commit 9ad9e2c6fb404bdeb7489cab654575764ac6f791
Author: Alan Modra <address@hidden>
Date:   Wed Sep 16 18:07:03 2015 +0930

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]