blob: 1b56f1266b8e7c08a940fea1c5c95118d2518f3a [file] [log] [blame]
Venkatraman Govindaraju5f1cce52014-01-05 02:13:48 +00001//===-- SparcFixupKinds.h - Sparc 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_SPARC_FIXUPKINDS_H
11#define LLVM_SPARC_FIXUPKINDS_H
12
13#include "llvm/MC/MCFixup.h"
14
15namespace llvm {
16 namespace Sparc {
17 enum Fixups {
18 // fixup_sparc_call30 - 30-bit PC relative relocation for call
19 fixup_sparc_call30 = FirstTargetFixupKind,
20
21 /// fixup_sparc_br22 - 22-bit PC relative relocation for
22 /// branches
23 fixup_sparc_br22,
24
25 /// fixup_sparc_br22 - 22-bit PC relative relocation for
26 /// branches on icc/xcc
27 fixup_sparc_br19,
28
29 // Marker
30 LastTargetFixupKind,
31 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
32 };
33 }
34}
35
36#endif