1 //===- SparcV9Relocations.h - SparcV9 Code Relocations ----------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the SparcV9 target-specific relocation types.
12 //===----------------------------------------------------------------------===//
14 #ifndef SPARCV9RELOCATIONS_H
15 #define SPARCV9RELOCATIONS_H
17 #include "llvm/CodeGen/MachineRelocation.h"
22 // reloc_pcrel_call - PC relative relocation, shifted right by two bits,
23 // inserted into a 30 bit field. This is used to relocate direct call
27 // reloc_sethi_hh - Absolute relocation, for 'sethi %hh(G),reg' operation.
30 // reloc_sethi_lm - Absolute relocation, for 'sethi %lm(G),reg' operation.
33 // reloc_or_hm - Absolute relocation, for 'or reg,%hm(G),reg' operation.
36 // reloc_or_lo - Absolute relocation, for 'or reg,%lo(G),reg' operation.