[Lldb-commits] [PATCH] D55998: ELF: create "container" sections from PT_LOAD segments
Joerg Sonnenberger via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 24 16:37:20 PST 2018
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
More information about the lldb-commits
mailing list