1 //===-- PPCFixupKinds.h - PPC Specific Fixup Entries ------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_PPC_PPCFIXUPKINDS_H
11 #define LLVM_PPC_PPCFIXUPKINDS_H
13 #include "llvm/MC/MCFixup.h"
18 // fixup_ppc_br24 - 24-bit PC relative relocation for direct branches like 'b'
20 fixup_ppc_br24 = FirstTargetFixupKind,
22 /// fixup_ppc_brcond14 - 14-bit PC relative relocation for conditional
26 /// fixup_ppc_lo16 - A 16-bit fixup corresponding to lo16(_foo) for instrs
30 /// fixup_ppc_ha16 - A 16-bit fixup corresponding to ha16(_foo) for instrs
34 /// fixup_ppc_lo14 - A 14-bit fixup corresponding to lo16(_foo) for instrs
38 /// fixup_ppc_toc - Insert value of TOC base (.TOC.).
41 /// fixup_ppc_toc16 - A 16-bit signed fixup relative to the TOC base.
44 /// fixup_ppc_toc16_ds - A 14-bit signed fixup relative to the TOC base with
45 /// implied 2 zero bits
48 /// fixup_ppc_tlsreg - Insert thread-pointer register number.
51 /// fixup_ppc_nofixup - Not a true fixup, but ties a symbol to a call
52 /// to __tls_get_addr for the TLS general and local dynamic models.
57 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind