Chris Lattner | a9d9ab9 | 2010-11-15 05:57:53 +0000 | [diff] [blame] | 1 | //===-- PPCFixupKinds.h - PPC Specific Fixup Entries ------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef LLVM_PPC_PPCFIXUPKINDS_H |
| 11 | #define LLVM_PPC_PPCFIXUPKINDS_H |
| 12 | |
| 13 | #include "llvm/MC/MCFixup.h" |
| 14 | |
| 15 | namespace llvm { |
| 16 | namespace PPC { |
| 17 | enum Fixups { |
Chris Lattner | b719437 | 2010-11-15 06:12:22 +0000 | [diff] [blame^] | 18 | // fixup_ppc_br24 - 24-bit PC relative relocation for direct branches like 'b' |
| 19 | // and 'bl'. |
Chris Lattner | a9d9ab9 | 2010-11-15 05:57:53 +0000 | [diff] [blame] | 20 | fixup_ppc_br24 = FirstTargetFixupKind, |
| 21 | |
Chris Lattner | b719437 | 2010-11-15 06:12:22 +0000 | [diff] [blame^] | 22 | /// fixup_ppc_brcond14 - 14-bit PC relative relocation for conditional |
| 23 | /// branches. |
| 24 | fixup_ppc_brcond14, |
| 25 | |
Chris Lattner | a9d9ab9 | 2010-11-15 05:57:53 +0000 | [diff] [blame] | 26 | // Marker |
| 27 | LastTargetFixupKind, |
| 28 | NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind |
| 29 | }; |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | #endif |