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

            Bug ID: 36298
           Summary: LLD does not support following output section types in
                    script: DSECT, COPY, INFO, OVERLAY
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: gri...@accesssoftek.com
                CC: llvm-bugs@lists.llvm.org

(SECT), (COPY), (INFO), (OVERLAY) all have the same effect: section should be
marked as non-allocatable.
Currently we do not support them and produce misleading error instead:
ld.lld: error: test.script:4: symbol not found: INFO

This is used by some apps, for example by TianoCore UEFI firmare:
.build-id (INFO) : { *(.note.gnu.build-id) }
(https://github.com/tianocore/edk2/blob/master/BaseTools/Scripts/GccBase.lds#L72)

Going to look how to support it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to