llvm-project/llvm/test/tools/obj2yaml
Georgii Rymar 5829dc9250 [yaml2obj][elf2yaml] - Add a support for the `EntSize` field for `SHT_HASH` sections.
Specification  for SHT_HASH table says (https://refspecs.linuxbase.org/elf/gabi4+/ch5.dynamic.html#hash)
that it contains Elf32_Word entries for both 32/64 bit objects.

Currently both GNU linkers and LLD sets the `sh_entsize` field to `4`.

At the same time, `yaml2obj` ignores the `EntSize` field for SHT_HASH sections.
This patch fixes this and also adds a support for obj2yaml: it will not
dump this field when the `sh_entsize` contains the default value (`4`).

Differential revision: https://reviews.llvm.org/D88652
2020-10-02 12:01:50 +03:00
..
COFF [test] Add REQUIRES: x86-registered-target to tools/obj2yaml/COFF/bss.s 2020-07-08 10:53:30 -07:00
ELF [yaml2obj][elf2yaml] - Add a support for the `EntSize` field for `SHT_HASH` sections. 2020-10-02 12:01:50 +03:00
MachO [MachOYAML] Allow handcrafting custom contents for DWARF sections. 2020-09-04 22:42:45 +08:00
Minidump [obj2yaml][test] Move tests to binary format specific subdirectories 2020-04-30 08:42:11 -07:00
XCOFF [obj2yaml][test] Move tests to binary format specific subdirectories 2020-04-30 08:42:11 -07:00
invalid_input_file.test [test/Object] - Cleanup the Object\obj2yaml.test a bit. 2019-08-06 14:34:39 +00:00