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

            Bug ID: 43461
           Summary: Missing dynamic init array tags when a linker script
                    explicitly includes the init array sections
           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], [email protected]

Created attachment 22577
  --> https://bugs.llvm.org/attachment.cgi?id=22577&action=edit
Test case to reproduce issue

The change submitted in r372734, "Make MergeInputSection merging aware of
output sections" breaks the attached "dynamic2.s" test. This test is based on
"ELF/linkerscript/dynamic.s", except that the linker script explicitly includes
the init array sections and is actually used in the link itself.

This issue was noticed as it caused a regression in some local tests.

It looks though the issue is related to the value of "partition" in the
OutputSection, the behavior of which has changed as a result of r372734.

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

Reply via email to