[llvm-bugs] [Bug 43461] New: Missing dynamic init array tags when a linker script explicitly includes the init array sections
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Thu Sep 26 05:28:19 PDT 2019
    
    
  
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: unassignedbugs at nondot.org
          Reporter: anng.sw at gmail.com
                CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190926/cc236677/attachment.html>
    
    
More information about the llvm-bugs
mailing list