[PATCH] D39749: Allow yaml2obj to order implicit sections for ELF

Dave Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 10:53:01 PST 2017


kastiglione created this revision.

This change allows yaml input to control the order of implicitly added sections
(`.symtab`, `.strtab`, `.shstrtab`). The order is controlled by adding a
placeholder section of the given name to the Sections field.

This change is to support changes in https://reviews.llvm.org/D39582, where it is desirable to control
the location of the `.dynsym` section.


https://reviews.llvm.org/D39749

Files:
  lib/ObjectYAML/ELFYAML.cpp
  test/tools/yaml2obj/section-ordering.yaml
  tools/yaml2obj/yaml2elf.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39749.121936.patch
Type: text/x-patch
Size: 6513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171107/84959ffb/attachment.bin>


More information about the llvm-commits mailing list