[yaml2obj] - Add a way to set sh_entsize for relocation sections.
authorGeorgii Rymar <grimar@accesssoftek.com>
Wed, 29 Jan 2020 13:40:40 +0000 (16:40 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Thu, 30 Jan 2020 11:51:33 +0000 (14:51 +0300)
commit1649c0098a2f94c25acd4976416d7d35aa2bc7b9
tree5eecfe26a7f9b74b468d69a7b4b7a6a5fc213e1c
parent827f49e3faf59f99082d0085de06dcbc09be8ba3
[yaml2obj] - Add a way to set sh_entsize for relocation sections.

We are missing ability to override the sh_entsize field for
SHT_REL[A] sections. It would be useful for writing test cases.

Differential revision: https://reviews.llvm.org/D73621
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/test/tools/yaml2obj/ELF/reloc-sec-entry-size.yaml [new file with mode: 0644]