1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/tools/obj2yaml
Georgii Rymar d37400ab28 [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
..
CMakeLists.txt [obj2yaml] - Cleanup error reporting (remove Error.cpp/.h files) 2020-08-26 14:25:11 +03:00
coff2yaml.cpp Re-land "Migrate the rest of COFFObjectFile to Error" 2020-06-11 14:46:16 -07:00
dwarf2yaml.cpp [DWARFYAML] Make the ExtLen field of extended opcodes optional. 2020-09-24 14:13:26 +08:00
elf2yaml.cpp [yaml2obj][elf2yaml] - Add a support for the EntSize field for SHT_HASH sections. 2020-10-02 12:01:50 +03:00
macho2yaml.cpp [obj2yaml] Stop parsing the debug_str section when it encounters a string without the null terminator. 2020-09-08 16:09:36 +08:00
minidump2yaml.cpp [obj2yaml] - Cleanup error reporting (remove Error.cpp/.h files) 2020-08-26 14:25:11 +03:00
obj2yaml.cpp [obj2yaml] - Cleanup error reporting (remove Error.cpp/.h files) 2020-08-26 14:25:11 +03:00
obj2yaml.h [obj2yaml] Add support for dumping the .debug_addr(v5) section. 2020-09-16 14:48:03 +08:00
wasm2yaml.cpp
xcoff2yaml.cpp