[yaml2obj][ELF] Add support for st_value and st_size.
authorSean Silva <silvas@purdue.edu>
Thu, 20 Jun 2013 20:59:47 +0000 (20:59 +0000)
committerSean Silva <silvas@purdue.edu>
Thu, 20 Jun 2013 20:59:47 +0000 (20:59 +0000)
commite38f640b22979994b42fb2f2aafc44cc39c20e8e
tree1c8d9e3d0236542c3bb61a78a2a664381361aff1
parent6525e92b32c52772f7d750ada7084245655629e6
[yaml2obj][ELF] Add support for st_value and st_size.

After this patch, the ELF file produced by
`yaml2obj-elf-symbol-basic.yaml`, when linked and executed on x86_64
(under SysV ABI, obviously; I tested on Linux), produces a working
executable that goes into an infinite loop!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184469 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELFYAML.h
lib/Object/ELFYAML.cpp
test/Object/yaml2obj-elf-symbol-basic.yaml
tools/yaml2obj/yaml2elf.cpp