bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23591] undefined reference to `__start___sancov_cntrs'


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/23591] undefined reference to `__start___sancov_cntrs'
Date: Fri, 31 Aug 2018 16:28:05 +0000

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

--- Comment #9 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=4d1c6335455aeeda9de8a5eb58998f919ea35a1e

commit 4d1c6335455aeeda9de8a5eb58998f919ea35a1e
Author: H.J. Lu <address@hidden>
Date:   Fri Aug 31 09:25:31 2018 -0700

    ld: Lookup section in output with the same name

    When there are more than one input sections with the same section name,
    SECNAME, linker picks the first one to define __start_SECNAME and
    __stop_SECNAME symbols.  When the first input section is removed by
    comdat group, we need to check if there is still an output section
    with section name SECNAME.

        PR ld/23591
        * ldlang.c (undef_start_stop): Lookup section in output with
        the same name.
        * testsuite/ld-elf/pr23591.d: New file.
        * testsuite/ld-elf/pr23591a.s: Likewise.
        * testsuite/ld-elf/pr23591b.s: Likewise.
        * testsuite/ld-elf/pr23591c.s: 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]