aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2012-08-16 19:07:59 +0000
committerRoman Divacky <rdivacky@freebsd.org>2012-08-16 19:07:59 +0000
commit05b2bc8781d9af403a257599613e12cb8fef19e8 (patch)
treec3fb482af6e1e44a229236a2f076478f7b5776c7 /include
parente88d17de99c5f46bc8104bc777f657d0299fd0e6 (diff)
downloadexternal_llvm-05b2bc8781d9af403a257599613e12cb8fef19e8.zip
external_llvm-05b2bc8781d9af403a257599613e12cb8fef19e8.tar.gz
external_llvm-05b2bc8781d9af403a257599613e12cb8fef19e8.tar.bz2
Revert r162034, r162035 and r162037.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Object/ELF.h8
-rw-r--r--include/llvm/Support/ELF.h16
2 files changed, 0 insertions, 24 deletions
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<target_endianness, is64Bits>
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<target_endianness, is64Bits>
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<target_endianness, is64Bits>::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 };