joerg added a comment.

In D55998#1340448 <https://reviews.llvm.org/D55998#1340448>, @jankratochvil 
wrote:

> > it is in theory possible to create an elf file where only a part of a 
> > section would belong to some segment (and another part to a different one).
>
> ELF standard <http://refspecs.linuxbase.org/elf/elf.pdf>: "//An object file 
> segment contains one or more sections.//", "//An object file segment 
> comprises one or more sections//"


I wouldn't rule out smart tools splitting a section into a read-only and 
read-write part on linking. So no, I certainly wouldn't assume any direct 
correspondance between segments and sections.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55998/new/

https://reviews.llvm.org/D55998



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to