[llvm-bugs] [Bug 45697] New: Warn if PT_LOAD segments are out-of-order
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 27 04:55:11 PDT 2020
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: unassignedbugs at nondot.org
Reporter: jh7370.2008 at my.bristol.ac.uk
CC: llvm-bugs at lists.llvm.org, smithp352 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200427/86a7d455/attachment.html>
More information about the llvm-bugs
mailing list