[llvm-bugs] [Bug 30367] New: Defining begin/end symbols with linker scripts is broken for SHF_MERGE sections

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 13 07:30:11 PDT 2016


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

            Bug ID: 30367
           Summary: Defining begin/end symbols with linker scripts is
                    broken for SHF_MERGE sections
           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

SECTIONS {
  bar : { s1 = .; *(foo*) s2 = .; }
}


and

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

    .section    foo2,"aM", at progbits,1
        .byte 42

We produce symbols that wrap only the second section.

-- 
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/20160913/71fd5fdc/attachment-0001.html>


More information about the llvm-bugs mailing list