X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTarget%2FPowerPC%2FPPCRelocations.h;h=e42437ceca6865b67d451cf4eae6a6394a157d0d;hp=21c688de2c57ff310f6ec8377c1d3e9c18c4e38a;hb=00e08fcaa02286dd7da9cf9a8d158545532ab832;hpb=94be248dbb2d2a44e8f4d47f161b93704d33d279 diff --git a/lib/Target/PowerPC/PPCRelocations.h b/lib/Target/PowerPC/PPCRelocations.h index 21c688de2c5..e42437ceca6 100644 --- a/lib/Target/PowerPC/PPCRelocations.h +++ b/lib/Target/PowerPC/PPCRelocations.h @@ -1,9 +1,9 @@ -//===- PPCRelocations.h - PPC32 Code Relocations ----------------*- C++ -*-===// +//===-- PPCRelocations.h - PPC Code Relocations -----------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // -// This file was developed by the LLVM research group and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef PPC32RELOCATIONS_H -#define PPC32RELOCATIONS_H +#ifndef LLVM_LIB_TARGET_POWERPC_PPCRELOCATIONS_H +#define LLVM_LIB_TARGET_POWERPC_PPCRELOCATIONS_H #include "llvm/CodeGen/MachineRelocation.h" @@ -25,6 +25,10 @@ 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,