[llvm-bugs] [Bug 30355] New: strings not merged when linker script used

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 12 12:23:14 PDT 2016


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

            Bug ID: 30355
           Summary: strings not merged when linker script used
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Given

    .section    foo,"aMS", at progbits,1
    .asciz    "abc123"

and

SECTIONS {
  bar : { *(foo) }
}

lld will fail to merge the strings if the input file is included multiple
times.

-- 
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/20160912/e87192ba/attachment.html>


More information about the llvm-bugs mailing list