summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit78bf1074fc3839ead40b30eae29dee961f510676 (patch)
treed6f72c448dd0d3fffd5693d28879be2837172099 /llvm/lib/Target/PowerPC/PPCRelocations.h
parentdc5a8963c18568abe86b60ed36869434f1610161 (diff)
downloadbcm5719-llvm-78bf1074fc3839ead40b30eae29dee961f510676.tar.gz
bcm5719-llvm-78bf1074fc3839ead40b30eae29dee961f510676.zip
Resolve BB references with relocation.
llvm-svn: 29351
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCRelocations.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCRelocations.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCRelocations.h b/llvm/lib/Target/PowerPC/PPCRelocations.h
index 09115e3ebc1..8cb2859d1f7 100644
--- a/llvm/lib/Target/PowerPC/PPCRelocations.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud