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, 26 Aug 2015 14:05:23 +0000

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

--- Comment #2 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=0e28778672160ee57d12fcc4f0e631122088fe69

commit 0e28778672160ee57d12fcc4f0e631122088fe69
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]