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

--- Comment #8 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 <h...@sourceware.org>:

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

commit 823143c6ca8ef4267e67ba03771991e08d09fabd
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Wed Jan 31 05:10:40 2018 -0800

    Check if __start/__stop symbols are referenced by shared objects

    Define  __start/__stop symbols if they are referenced by shared objects,
    not if they are also defined in shared objects.

    bfd/

        PR ld/21964
        * elflink.c (bfd_elf_define_start_stop): Check if __start and
        __stop symbols are referenced by shared objects.

    ld/

        PR ld/21964
        * testsuite/ld-elf/pr21964-4.c: New file.
        * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to