1 //===- ELF.cpp - ELF object file implementation -----------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "llvm/Object/ELF.h"
15 #define ELF_RELOC(name, value) \
19 StringRef getELFRelocationTypeName(uint32_t Machine, uint32_t Type) {
23 #include "llvm/Support/ELFRelocs/x86_64.def"
30 #include "llvm/Support/ELFRelocs/i386.def"
37 #include "llvm/Support/ELFRelocs/Mips.def"
44 #include "llvm/Support/ELFRelocs/AArch64.def"
51 #include "llvm/Support/ELFRelocs/ARM.def"
58 #include "llvm/Support/ELFRelocs/Hexagon.def"
65 #include "llvm/Support/ELFRelocs/PowerPC.def"
72 #include "llvm/Support/ELFRelocs/PowerPC64.def"
79 #include "llvm/Support/ELFRelocs/SystemZ.def"
85 case ELF::EM_SPARC32PLUS:
88 #include "llvm/Support/ELFRelocs/Sparc.def"
101 } // end namespace object
102 } // end namespace llvm