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: unassignedb...@nondot.org
          Reporter: rafael.espind...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Given

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


and

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

    .section    foo2,"aM",@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to