bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19579] [Regression] link error linking fortran code with PIE


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/19579] [Regression] link error linking fortran code with PIE
Date: Wed, 09 Mar 2016 14:01:54 +0000

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

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_26-branch branch has been updated by H.J. Lu
<address@hidden>:

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

commit 1134e6ce012575e6d0e99933d0d29cc7978af9af
Author: H.J. Lu <address@hidden>
Date:   Wed Mar 9 05:59:20 2016 -0800

    Treat common symbol in executable as definition

    Common symbol in executable is a definition, which overrides definition
    from shared objects.  When linker sees a new definition from a shared
    object, the new dynamic definition should be overridden by the previous
    common symbol in executable.

    Backport from master

    bfd/

        PR ld/19579
        * elflink.c (_bfd_elf_merge_symbol): Group common symbol checking
        together.

        * elflink.c (_bfd_elf_merge_symbol): Treat common symbol in
        executable as definition if the new definition comes from a
        shared library.

    ld/

        PR ld/19579
        * testsuite/ld-elf/pr19579a.c: New file.
        * testsuite/ld-elf/pr19579b.c: Likewise.
        * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.

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