diff options
author | Lang Hames <lhames@gmail.com> | 2014-09-23 19:17:48 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-09-23 19:17:48 +0000 |
commit | a633a6cdb129cfaa274146b73a2fa902fceace1b (patch) | |
tree | b196c5bbc5e4da07829137d040592544ddc1a145 /llvm/lib | |
parent | a7b357fed197d80f89558c0e73f6ff6623e741dd (diff) | |
download | bcm5719-llvm-a633a6cdb129cfaa274146b73a2fa902fceace1b.tar.gz bcm5719-llvm-a633a6cdb129cfaa274146b73a2fa902fceace1b.zip |
[MCJIT] Remove PPCRelocations.h - it's no longer used.
This was overlooked in r218320, which removed the relocation headers for other
targets. Thanks to Ulrich Weigand for catching it.
llvm-svn: 218327
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCRelocations.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCRelocations.h b/llvm/lib/Target/PowerPC/PPCRelocations.h deleted file mode 100644 index e42437ceca6..00000000000 --- a/llvm/lib/Target/PowerPC/PPCRelocations.h +++ /dev/null @@ -1,56 +0,0 @@ -//===-- PPCRelocations.h - PPC Code Relocations -----------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file defines the PowerPC 32-bit target-specific relocation types. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_LIB_TARGET_POWERPC_PPCRELOCATIONS_H -#define LLVM_LIB_TARGET_POWERPC_PPCRELOCATIONS_H - -#include "llvm/CodeGen/MachineRelocation.h" - -// Hack to rid us of a PPC pre-processor symbol which is erroneously -// defined in a PowerPC header file (bug in Linux/PPC) -#ifdef PPC -#undef PPC -#endif - -namespace llvm { - namespace PPC { - enum RelocationType { - // reloc_vanilla - A standard relocation, where the address of the - // relocated object completely overwrites the address of the relocation. - reloc_vanilla, - - // reloc_pcrel_bx - PC relative relocation, for the b or bl instructions. - reloc_pcrel_bx, - - // reloc_pcrel_bcx - PC relative relocation, for BLT,BLE,BEQ,BGE,BGT,BNE, - // and other bcx instructions. - reloc_pcrel_bcx, - - // reloc_absolute_high - Absolute relocation, for the loadhi instruction - // (which is really addis). Add the high 16-bits of the specified global - // address into the low 16-bits of the instruction. - reloc_absolute_high, - - // reloc_absolute_low - Absolute relocation, for the la instruction (which - // is really an addi). Add the low 16-bits of the specified global - // address into the low 16-bits of the instruction. - reloc_absolute_low, - - // reloc_absolute_low_ix - Absolute relocation for the 64-bit load/store - // instruction which have two implicit zero bits. - reloc_absolute_low_ix - }; - } -} - -#endif |