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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to