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

            Bug ID: 33052
           Summary: -r eats comdats
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Given

        .globl  _start
_start:
 callq foo

        .section        .text.bar,"axG",@progbits,abc,comdat
        .section        .text.foo,"axG",@progbits,xyz,comdat
        .global foo
foo:
        mov $60, %rax
        mov $0, %rdi
        syscall

the produced .o file has two section groups. Passing it to "lld -r" produces a
file with no section groups.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to