projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix pr19645.
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCRelocations.h
diff --git
a/lib/Target/PowerPC/PPCRelocations.h
b/lib/Target/PowerPC/PPCRelocations.h
index 21c688de2c57ff310f6ec8377c1d3e9c18c4e38a..0b392f99b6d73731997a21fe100ec2b269b5a35a 100644
(file)
--- 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
//
//
// 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 PPC
32
RELOCATIONS_H
-#define PPC
32
RELOCATIONS_H
+#ifndef PPCRELOCATIONS_H
+#define PPCRELOCATIONS_H
#include "llvm/CodeGen/MachineRelocation.h"
#include "llvm/CodeGen/MachineRelocation.h"
@@
-25,6
+25,10
@@
namespace llvm {
namespace PPC {
enum RelocationType {
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_bx - PC relative relocation, for the b or bl instructions.
reloc_pcrel_bx,