[PATCH] D69709: [yaml2obj][WIP] - Add a way to describe the custom data that is not part of an output section.

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 09:22:08 PST 2019


labath added a comment.

I'm "cautiously optimistic" about this patch. :) One of the things I've been missing for a while is the ability to represent elf files which don't have any sections whatsoever (e.g. elf core files), and this seems to open the door for that. I've been thinking about the best way to implement that for a long time, but I haven't thought of this solution -- it's pretty neat. If we expand on this idea to include non-sections in the "Sections" array (which then really becomes just "Content"), then other things become hopefully within reach too. For instance, one can control the placement of program headers with a new kind of a "section", and even maybe create the weird self-referencing PT_PHDR segment.


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

https://reviews.llvm.org/D69709





More information about the llvm-commits mailing list