[Top][All Lists]

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

[Bug ld/20306] ld fails when linking with shared object, "--gc-sections"

From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20306] ld fails when linking with shared object, "--gc-sections" and "-u".
Date: Tue, 28 Jun 2016 15:10:20 +0000


--- Comment #2 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>:


commit f4ab0e2d1d4e14cfdddf46ac846c48ae55f4e14a
Author: H.J. Lu <address@hidden>
Date:   Tue Jun 28 08:08:04 2016 -0700

    Skip version check for unreferenced and undefined symbol

    No need to check version if symbol is unreferenced and undefined.


        PR ld/20306
        * elflink.c (elf_link_check_versioned_symbol): Return false
        for unreferenced undefined symbol.


        * testsuite/ld-gc/gc.exp: Run pr20306 test.
        * ld-gc/pr20306.c: New file.
        * ld-gc/pr20306.d: 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]