From 05b2bc8781d9af403a257599613e12cb8fef19e8 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Thu, 16 Aug 2012 19:07:59 +0000 Subject: Revert r162034, r162035 and r162037. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162039 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/ELF.h | 8 -------- include/llvm/Support/ELF.h | 16 ---------------- 2 files changed, 24 deletions(-) (limited to 'include') diff --git a/include/llvm/Object/ELF.h b/include/llvm/Object/ELF.h index 40c6cb1..7698441 100644 --- a/include/llvm/Object/ELF.h +++ b/include/llvm/Object/ELF.h @@ -2015,8 +2015,6 @@ StringRef ELFObjectFile return "ELF32-arm"; case ELF::EM_HEXAGON: return "ELF32-hexagon"; - case ELF::EM_PPC: - return "ELF32-ppc"; default: return "ELF32-unknown"; } @@ -2026,8 +2024,6 @@ StringRef ELFObjectFile return "ELF64-i386"; case ELF::EM_X86_64: return "ELF64-x86-64"; - case ELF::EM_PPC64: - return "ELF64-ppc64"; default: return "ELF64-unknown"; } @@ -2048,10 +2044,6 @@ unsigned ELFObjectFile::getArch() const { return Triple::arm; case ELF::EM_HEXAGON: return Triple::hexagon; - case ELF::EM_PPC: - return Triple::ppc; - case ELF::EM_PPC64: - return Triple::ppc64; default: return Triple::UnknownArch; } diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index 7fae717..f7ae60f 100644 --- a/include/llvm/Support/ELF.h +++ b/include/llvm/Support/ELF.h @@ -441,7 +441,6 @@ enum { R_MICROBLAZE_COPY = 21 }; -// ELF Relocation types for PPC32 enum { R_PPC_NONE = 0, /* No relocation. */ R_PPC_ADDR32 = 1, @@ -460,21 +459,6 @@ enum { R_PPC_REL32 = 26 }; -// ELF Relocation types for PPC64 -enum { - R_PPC64_ADDR16_LO = 4, - R_PPC64_ADDR16_HA = 6, - R_PPC64_ADDR14 = 7, - R_PPC64_REL24 = 10, - R_PPC64_ADDR64 = 38, - R_PPC64_TOC16 = 47, - R_PPC64_TOC16_LO = 48, - R_PPC64_TOC16_HI = 49, - R_PPC64_TOC16_HA = 50, - R_PPC64_TOC = 51, - R_PPC64_TOC16_DS = 63 -}; - // ARM Specific e_flags enum { EF_ARM_EABIMASK = 0xFF000000U }; -- cgit v1.1