bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27441] Small inconsistency in between gold and bfd


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/27441] Small inconsistency in between gold and bfd
Date: Thu, 25 Feb 2021 03:59:23 +0000

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

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

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

commit bbaddd4bbeba65200ee805d87c2e3a845842e3eb
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 24 18:01:16 2021 +1030

    PR27441, inconsistency in weak definitions

    This makes IR objects use the same logic as normal objects with
    respect to what sort of ref/def makes an as-needed library needed.
    Testing the binding of the definition is just plain wrong.  What
    matters is the binding of the reference.

            PR 27441
            * elf-bfd.h (struct elf_link_hash_entry): Add ref_ir_nonweak.
            * elflink.c (elf_link_add_object_symbols): Set ref_ir_nonweak and
            use when deciding an as-needed library should be loaded instead
            of using the binding of the library definition.

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