[llvm-bugs] [Bug 38748] New: Section merge should match the rules specified in the linker script.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 28 16:50:46 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38748
Bug ID: 38748
Summary: Section merge should match the rules specified in the
linker script.
Product: lld
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: pshung807 at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20791
--> https://bugs.llvm.org/attachment.cgi?id=20791&action=edit
a test case
LLD always merges sections if their default output
section names are the same (acquired from getOutputSectionName.).
However, this doesn't make sense. What if a user wants to separate those
sections into different output sections. (Specified in a linker script)
So, we should match against the linker script commands to get their real output
section name.
--
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/20180828/5a7960fa/attachment.html>
More information about the llvm-bugs
mailing list