1 //===-- SparcFixupKinds.h - Sparc Specific Fixup Entries --------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCFIXUPKINDS_H
10 #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCFIXUPKINDS_H
12 #include "llvm/MC/MCFixup.h"
17 // fixup_sparc_call30 - 30-bit PC relative relocation for call
18 fixup_sparc_call30
= FirstTargetFixupKind
,
20 /// fixup_sparc_br22 - 22-bit PC relative relocation for
24 /// fixup_sparc_br19 - 19-bit PC relative relocation for
25 /// branches on icc/xcc
28 /// fixup_sparc_bpr - 16-bit fixup for bpr
32 /// fixup_sparc_13 - 13-bit fixup
35 /// fixup_sparc_hi22 - 22-bit fixup corresponding to %hi(foo)
39 /// fixup_sparc_lo10 - 10-bit fixup corresponding to %lo(foo)
42 /// fixup_sparc_h44 - 22-bit fixup corresponding to %h44(foo)
45 /// fixup_sparc_m44 - 10-bit fixup corresponding to %m44(foo)
48 /// fixup_sparc_l44 - 12-bit fixup corresponding to %l44(foo)
51 /// fixup_sparc_hh - 22-bit fixup corresponding to %hh(foo)
54 /// fixup_sparc_hm - 10-bit fixup corresponding to %hm(foo)
57 /// fixup_sparc_pc22 - 22-bit fixup corresponding to %pc22(foo)
60 /// fixup_sparc_pc10 - 10-bit fixup corresponding to %pc10(foo)
63 /// fixup_sparc_got22 - 22-bit fixup corresponding to %got22(foo)
66 /// fixup_sparc_got10 - 10-bit fixup corresponding to %got10(foo)
69 /// fixup_sparc_got13 - 13-bit fixup corresponding to %got13(foo)
72 /// fixup_sparc_wplt30
75 /// fixups for Thread Local Storage
76 fixup_sparc_tls_gd_hi22
,
77 fixup_sparc_tls_gd_lo10
,
78 fixup_sparc_tls_gd_add
,
79 fixup_sparc_tls_gd_call
,
80 fixup_sparc_tls_ldm_hi22
,
81 fixup_sparc_tls_ldm_lo10
,
82 fixup_sparc_tls_ldm_add
,
83 fixup_sparc_tls_ldm_call
,
84 fixup_sparc_tls_ldo_hix22
,
85 fixup_sparc_tls_ldo_lox10
,
86 fixup_sparc_tls_ldo_add
,
87 fixup_sparc_tls_ie_hi22
,
88 fixup_sparc_tls_ie_lo10
,
89 fixup_sparc_tls_ie_ld
,
90 fixup_sparc_tls_ie_ldx
,
91 fixup_sparc_tls_ie_add
,
92 fixup_sparc_tls_le_hix22
,
93 fixup_sparc_tls_le_lox10
,
97 NumTargetFixupKinds
= LastTargetFixupKind
- FirstTargetFixupKind