[PATCH] D34204: [LLD][LinkerScript] Allow non-alloc sections to be assigned to segments.

bd1976 llvm via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 11:24:40 PDT 2017


I think that you have one specific model in mind of what the program
headers represent.

However, they are simply a block of bytes in the output file.

The "meaning" is assigned by the platform.

On our platform the phdrs are best thought of as a mapping between a
contiguous range of offsets in the output file and a contiguous range of
va's in the program image.

The range of file offsets covered indicates the sections that are contained
in the phdr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170616/fc4d375a/attachment.html>


More information about the llvm-commits mailing list