bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/23046] gold crashes while linking armv7hl binaries built with


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/23046] gold crashes while linking armv7hl binaries built with clang 6.0 when using --icf=safe
Date: Thu, 19 Apr 2018 17:20:50 +0000

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

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

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

commit d83d54033545c0e7b668950b127753c88a33f950
Author: Cary Coutant <address@hidden>
Date:   Thu Apr 19 10:20:08 2018 -0700

    Fix second bug where --icf=safe triggers segfault when linking ARM.

    When checking a R_ARM_TARGET[12] relocation, we need a valid target
    pointer, but the garbage collection code was passing a NULL instead.
    The previous fix for this bug fixed the call to
    scan.global_reloc_may_be_function_pointer, but missed the similar
    call to scan.local_reloc_may_be_function_pointer.

    gold/
        PR gold/23046
        * gc.h (gc_process_relocs): Pass target to
        scan.local_reloc_may_be_function_pointer.

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