[yaml2obj] - Allow placing local symbols after globals.
commit65c4f03df37db107420ff9248dd829d8dd625170
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 29 Aug 2019 10:58:47 +0000 (29 10:58 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 29 Aug 2019 10:58:47 +0000 (29 10:58 +0000)
treebdb2921a3cd10077d62073dd113b5a880b21e171
parentfd539ca470a9dccdb77938b7dac110eb7148c966
[yaml2obj] - Allow placing local symbols after globals.

This allows us to produce broken binaries with local
symbols placed after global in '.dynsym'/'.symtab'

Also, simplifies the code.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370331 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ObjectYAML/ELFEmitter.cpp
test/tools/yaml2obj/elf-symbols-binding-order.yaml