aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELF.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-07-15BPF: Use official ELF e_machine valueAlexei Starovoitov1-0/+6
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-17Support/ELF: Add AMDGPU relocation definitions to match documentationTom Stellard1-0/+7
Reviewers: arsenm, kzhuravl, rafael Subscribers: llvm-commits, kzhuravl Differential Revision: http://reviews.llvm.org/D21443 llvm-svn: 273066
2016-03-01[lanai] Add ELF enum value and relocations.Jacques Pienaar1-0/+7
Add ELF enum value and relocations for Lanai backed. 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/D17008 llvm-svn: 262394
2016-01-12[WebAssembly] Add a EM_WEBASSEMBLY value, and several bits of code that use it.Dan Gohman1-0/+7
A request has been made to the official registry, but an official value is not yet available. This patch uses a temporary value in order to support development. When an official value is recieved, the value of EM_WEBASSEMBLY will be updated. llvm-svn: 257517
2015-11-04[ELF] elfiamcu triple should imply e_machine == EM_IAMCUMichael Kuperstein1-0/+1
Differential Revision: http://reviews.llvm.org/D14109 llvm-svn: 252043
2014-11-21Remove duplication of relocation names in lib/Object/ELF.cppTim Northover1-742/+14
We can now use the ELF relocation .def files to create the mapping of relocation numbers to names and avoid having to duplicate the list of relocations. Patch by Will Newton. llvm-svn: 222566
2014-08-11AArch64: add support for dynamic-loader relocationsTim Northover1-0/+11
LLD needs them, and it's good to be able to print them properly when our object dumpers encounter them. Patch by Daniel Stewart. llvm-svn: 215352
2014-07-18[PowerPC] 32-bit ELF PIC supportHal Finkel1-0/+1
This adds initial support for PPC32 ELF PIC (Position Independent Code; the -fPIC variety), thus rectifying a long-standing deficiency in the PowerPC backend. Patch by Justin Hibbits! llvm-svn: 213427
2014-05-20[Mips] Add more relocation types and MIPS specific e_flags constants.Simon Atanasyan1-0/+10
llvm-svn: 209201
2014-01-26[Sparc] Add support for sparc relocation types in ELF object file.Venkatraman Govindaraju1-0/+92
llvm-svn: 200112
2013-12-19Support for microMIPS TLS relocations.Zoran Jovanovic1-0/+2
llvm-svn: 197685
2013-11-04Support for microMIPS branch instructions.Zoran Jovanovic1-0/+1
llvm-svn: 193992
2013-10-29Support for microMIPS jump instructionsZoran Jovanovic1-0/+1
llvm-svn: 193623
2013-10-23Support for microMIPS relocations 1.Zoran Jovanovic1-0/+11
llvm-svn: 193247
2013-08-09Add back missing PPC relocation types.Ulrich Weigand1-0/+36
llvm-svn: 188064
2013-08-08Add missing PPC64 relocation types.Michael J. Spencer1-0/+42
llvm-svn: 188031
2013-08-08[Object] Split the ELF interface into 3 parts.Michael J. Spencer1-0/+623
* ELFTypes.h contains template magic for defining types based on endianess, size, and alignment. * ELFFile.h defines the ELFFile class which provides low level ELF specific access. * ELFObjectFile.h contains ELFObjectFile which uses ELFFile to implement the ObjectFile interface. llvm-svn: 188022