[llvm-bugs] [Bug 33887] New: Common symbol is not gced

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 21 18:22:06 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33887

            Bug ID: 33887
           Summary: Common symbol is not gced
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org

Given

        .comm   foo,4,4
        .hidden foo

ld.bfd test.o -o test.so --gc-sections -shared 

will gc foo, but the corresponding command with lld will not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170722/5e71f0f3/attachment.html>


More information about the llvm-bugs mailing list