aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ObjectYAML/ELFYAML.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-07-15BPF: Use official ELF e_machine valueAlexei Starovoitov1-0/+4
The same value for EM_BPF is being propagated to glibc, elfutils, and binutils. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> llvm-svn: 275633
2016-06-27[yaml2obj] Remove --format option in favor of YAML tagsChris Bieneman1-0/+1
Summary: Our YAML library's handling of tags isn't perfect, but it is good enough to get rid of the need for the --format argument to yaml2obj. This patch does exactly that. Instead of requiring --format, it infers the format based on the tags found in the object file. The supported tags are: !ELF !COFF !mach-o !fat-mach-o I have a corresponding patch that is quite large that fixes up all the in-tree test cases. Reviewers: rafael, Bigcheese, compnerd, silvas Subscribers: compnerd, llvm-commits Differential Revision: http://reviews.llvm.org/D21711 llvm-svn: 273915
2016-06-17Support/ELF: Add AMDGPU relocation definitions to match documentationTom Stellard1-0/+3
Reviewers: arsenm, kzhuravl, rafael Subscribers: llvm-commits, kzhuravl Differential Revision: http://reviews.llvm.org/D21443 llvm-svn: 273066
2016-03-28[lanai] Add Lanai backend.Jacques Pienaar1-0/+4
Add the Lanai backend to lib/Target. General Lanai backend discussion on llvm-dev thread "[RFC] Lanai backend" (http://lists.llvm.org/pipermail/llvm-dev/2016-February/095118.html). Differential Revision: http://reviews.llvm.org/D17011 llvm-svn: 264578
2016-03-09[AMDGPU] add AMDGPU target support to ELFObjectFile.h headerValery Pykhtin1-0/+1
Differential Revision: http://reviews.llvm.org/D17144 llvm-svn: 263026
2016-03-01Move ObjectYAML code to a new library.Rafael Espindola1-0/+828
It is only ever used by obj2yaml and yaml2obj. No point in linking it everywhere. llvm-svn: 262368