bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19553] linking against libs that require pthreads breaks due to


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/19553] linking against libs that require pthreads breaks due to symbol changes
Date: Mon, 01 Feb 2016 23:50:32 +0000

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

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

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

commit aef28989904e92e391fee905e51abc6bb2fd4de0
Author: H.J. Lu <address@hidden>
Date:   Mon Feb 1 15:49:52 2016 -0800

    Don't add DT_NEEDED for unmatched symbol

    Don't add DT_NEEDED if a symbol from a library loaded via DT_NEEDED
    doesn't match the symbol referenced by regular object.

    bfd/

        PR ld/19553
        * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
        if a symbol from a library loaded via DT_NEEDED doesn't match
        the symbol referenced by regular object.

    ld/testsuite/

        PR ld/19553
        * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
        * testsuite/ld-elf/pr19553.map: New file.
        * testsuite/ld-elf/pr19553.map: Likewise.
        * testsuite/ld-elf/pr19553a.c: Likewise.
        * testsuite/ld-elf/pr19553b.c: Likewise.
        * testsuite/ld-elf/pr19553b.out: Likewise.
        * testsuite/ld-elf/pr19553c.c: Likewise.
        * testsuite/ld-elf/pr19553c.out: Likewise.
        * testsuite/ld-elf/pr19553d.c: Likewise.
        * testsuite/ld-elf/pr19553d.out: Likewise.

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