[llvm-bugs] [Bug 37781] New: Support output with many sections

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 12 07:10:10 PDT 2018


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

            Bug ID: 37781
           Summary: Support output with many sections
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

LLD does not currently correctly support output when there are >= 0xff00
sections. The first problem I noticed was that the e_shstrndx field was corrupt
(the index had been truncated). I didn't investigate any other issues.

Although with a full link such output is very unlikely, relocatable (-r) output
could easily result in many sections being present, e.g. due to
-ffunction-sections output. Without fixing this issue, LLD and other binary
tools cannot consume such an output.

-- 
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/20180612/19d3c129/attachment.html>


More information about the llvm-bugs mailing list