summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCRelocations.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-07-27 18:21:10 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-07-27 18:21:10 +0000
commitf141cc46faf6f0525f0baa10b6a6c976301874a5 (patch)
tree606b1c78ed5faa3eb7e66431a6304442826f6b60 /lib/Target/PowerPC/PPCRelocations.h
parent16620fcbfd12fcd0530e79e121a7e5ff33cb9618 (diff)
downloadllvm-f141cc46faf6f0525f0baa10b6a6c976301874a5.tar.gz
llvm-f141cc46faf6f0525f0baa10b6a6c976301874a5.tar.bz2
llvm-f141cc46faf6f0525f0baa10b6a6c976301874a5.tar.xz
Resolve BB references with relocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRelocations.h')
-rw-r--r--lib/Target/PowerPC/PPCRelocations.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCRelocations.h b/lib/Target/PowerPC/PPCRelocations.h
index 09115e3ebc..8cb2859d1f 100644
--- a/lib/Target/PowerPC/PPCRelocations.h
+++ b/lib/Target/PowerPC/PPCRelocations.h
@@ -28,6 +28,10 @@ namespace llvm {
// 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.