[llvm-bugs] [Bug 33052] New: -r eats comdats
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon May 15 13:38:36 PDT 2017
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: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvm-bugs at lists.llvm.org
Given
.globl _start
_start:
callq foo
.section .text.bar,"axG", at progbits,abc,comdat
.section .text.foo,"axG", at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170515/f2401adf/attachment.html>
More information about the llvm-bugs
mailing list