This makes the following improvements. For `SHT_GNU_versym`: * yaml2obj: set `sh_link` to index of `.dynsym` section automatically. For `SHT_GNU_verdef`: * yaml2obj: set `sh_link` to index of `.dynstr` section automatically. * yaml2obj: set `sh_info` field automatically. * obj2yaml: don't dump the `Info` field when its value matches the number of version definitions. For `SHT_GNU_verneed`: * yaml2obj: set `sh_link` to index of `.dynstr` section automatically. * yaml2obj: set `sh_info` field automatically. * obj2yaml: don't dump the `Info` field when its value matches the number of version dependencies. Also, simplifies few test cases. Differential revision: https://reviews.llvm.org/D94956 |
||
|---|---|---|
| .. | ||
| AArch64 | ||
| AMDGPU | ||
| ARM | ||
| Hexagon | ||
| Inputs | ||
| Mips | ||
| PowerPC | ||
| RISCV | ||
| call-absolute-symbol.test | ||
| dynamic-section-machine-specific.test | ||
| dynamic-section.test | ||
| file-headers.test | ||
| invalid-phdr.test | ||
| proc-specific-section.test | ||
| pt-gnu-property.test | ||
| relocations.test | ||
| symbol-table.test | ||
| symbol-visibility.test | ||
| verdef.test | ||
| verneed.test | ||