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: Wed, 16 Sep 2015 12:25:38 +0000

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

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

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

commit bca6d0e3195217576b39fa1205469e1d578b386a
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]