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: Thu, 27 Aug 2015 14:04:49 +0000

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

--- Comment #5 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=5fc980cc8be61203db24756e17d87f24c174f1ac

commit 5fc980cc8be61203db24756e17d87f24c174f1ac
Author: Alan Modra <address@hidden>
Date:   Wed Aug 26 17:32:08 2015 +0930

    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.

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