LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SparcRelocations.h
Go to the documentation of this file.
1 //===-- SparcRelocations.h - Sparc Code Relocations -------------*- 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 // This file defines the Sparc target-specific relocation types
11 // (for relocation-model=static).
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef SPARC_RELOCATIONS_H
16 #define SPARC_RELOCATIONS_H
17 
19 
20 namespace llvm {
21  namespace SP {
23  // reloc_sparc_hi - upper 22 bits
25 
26  // reloc_sparc_lo - lower 10 bits
28 
29  // reloc_sparc_pc30 - pc rel. 30 bits for call
31 
32  // reloc_sparc_pc22 - pc rel. 22 bits for branch
34 
35  // reloc_sparc_pc22 - pc rel. 19 bits for branch with icc/xcc
37  };
38  }
39 }
40 
41 #endif