1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/ObjectYAML
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 [DWARFYAML] Refactor emitDebugInfo() to make the length be inferred. 2020-07-23 23:00:19 +08:00
CodeViewYAMLDebugSections.cpp
CodeViewYAMLSymbols.cpp
CodeViewYAMLTypeHashing.cpp
CodeViewYAMLTypes.cpp
COFFEmitter.cpp
COFFYAML.cpp
DWARFEmitter.cpp [DWARFYAML] Make the ExtLen field of extended opcodes optional. 2020-09-24 14:13:26 +08:00
DWARFYAML.cpp [DWARFYAML] Make the ExtLen field of extended opcodes optional. 2020-09-24 14:13:26 +08:00
ELFEmitter.cpp [yaml2obj][elf2yaml] - Add a support for the EntSize field for SHT_HASH sections. 2020-10-02 12:01:50 +03:00
ELFYAML.cpp [yaml2obj][obj2yaml] - Add a support for SHT_ARM_EXIDX section. 2020-09-28 11:45:49 +03:00
LLVMBuild.txt [DWARFYAML] Add dependency 'BinaryFormat'. NFC. 2020-07-20 13:58:22 +08:00
MachOEmitter.cpp [MachOYAML] Allow handcrafting custom contents for DWARF sections. 2020-09-04 22:42:45 +08:00
MachOYAML.cpp [DWARFYAML] Replace Is64bit with Is64BitAddrSize. NFC. 2020-07-14 10:58:35 +08:00
MinidumpEmitter.cpp
MinidumpYAML.cpp
ObjectYAML.cpp
WasmEmitter.cpp [WebAssembly] Adding 64-bit version of R_WASM_MEMORY_ADDR_* relocs 2020-06-15 10:07:42 -07:00
WasmYAML.cpp [WebAssembly] 64-bit memory limits 2020-07-06 12:40:45 -07:00
XCOFFYAML.cpp
yaml2obj.cpp [yaml2obj] - Introduce a 10 Mb limit of the output by default and a --max-size option. 2020-06-10 15:23:59 +03:00
YAML.cpp