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

            Bug ID: 45697
           Summary: Warn if PT_LOAD segments are out-of-order
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: jh7370.2...@my.bristol.ac.uk
                CC: llvm-bugs@lists.llvm.org, smithp...@googlemail.com

The ELF gABI states:

    Loadable segment entries in the program header table appear in ascending
order, sorted on the p_vaddr member.

Our propiertary linker produces a warning if the linker script has been
modified to cause this statement to be violated. LLD does not appear to emit
any such warning, but it would be nice if it did: if we emit a warning in the
linker, it will more easily diagnose where there is a linker script bug and
could help reduce confusion for developers who run into related issues.

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

Reply via email to