OSDN Git Service

[yaml2obj] - Allow setting custom section types for implicit sections.
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 14 Jun 2019 12:16:59 +0000 (12:16 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 14 Jun 2019 12:16:59 +0000 (12:16 +0000)
commit1fe6ca4d2c47f6375925e771741961f9ac12ce8c
tree39d180cd1efee994e5c4e9c4b5a2bf1803626337
parentc38aa9286042b104000e075375a3ccc5c8e72e38
[yaml2obj] - Allow setting custom section types for implicit sections.

We were hardcoding the final section type for sections that
are usually implicit. The patch fixes that.

This also fixes a few issues in existent test cases and removes
one precompiled object.

Differential revision: https://reviews.llvm.org/D63267

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363377 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/Inputs/wrong-shstrtab-type.elf-x86-64 [deleted file]
test/tools/llvm-readobj/elf-wrong-shstrtab-type.test
test/tools/yaml2obj/elf-symtab-shinfo.yaml
test/tools/yaml2obj/elf-symtab-shtype.yaml
test/tools/yaml2obj/explicit-dynsym-no-dynstr.yaml
test/tools/yaml2obj/implicit-sections-types.test [new file with mode: 0644]
tools/yaml2obj/yaml2elf.cpp