Imported Upstream version 0.155
[platform/upstream/elfutils.git] / backends / ia64_reloc.def
1 /* List the relocation types for ia64.  -*- C -*-
2    Copyright (C) 2005, 2006 Red Hat, Inc.
3    This file is part of elfutils.
4
5    This file is free software; you can redistribute it and/or modify
6    it under the terms of either
7
8      * the GNU Lesser General Public License as published by the Free
9        Software Foundation; either version 3 of the License, or (at
10        your option) any later version
11
12    or
13
14      * the GNU General Public License as published by the Free
15        Software Foundation; either version 2 of the License, or (at
16        your option) any later version
17
18    or both in parallel, as here.
19
20    elfutils is distributed in the hope that it will be useful, but
21    WITHOUT ANY WARRANTY; without even the implied warranty of
22    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23    General Public License for more details.
24
25    You should have received copies of the GNU General Public License and
26    the GNU Lesser General Public License along with this program.  If
27    not, see <http://www.gnu.org/licenses/>.  */
28
29 /*          NAME,               REL|EXEC|DYN    */
30
31 RELOC_TYPE (NONE,               0)
32 RELOC_TYPE (IMM14,              REL)
33 RELOC_TYPE (IMM22,              REL)
34 RELOC_TYPE (IMM64,              REL)
35 RELOC_TYPE (DIR32MSB,           REL|EXEC|DYN)
36 RELOC_TYPE (DIR32LSB,           REL|EXEC|DYN)
37 RELOC_TYPE (DIR64MSB,           REL|EXEC|DYN)
38 RELOC_TYPE (DIR64LSB,           REL|EXEC|DYN)
39 RELOC_TYPE (GPREL22,            REL)
40 RELOC_TYPE (GPREL64I,           REL)
41 RELOC_TYPE (GPREL32MSB,         REL)
42 RELOC_TYPE (GPREL32LSB,         REL)
43 RELOC_TYPE (GPREL64MSB,         REL)
44 RELOC_TYPE (GPREL64LSB,         REL)
45 RELOC_TYPE (LTOFF22,            REL)
46 RELOC_TYPE (LTOFF64I,           REL)
47 RELOC_TYPE (PLTOFF22,           REL)
48 RELOC_TYPE (PLTOFF64I,          REL)
49 RELOC_TYPE (PLTOFF64MSB,        REL)
50 RELOC_TYPE (PLTOFF64LSB,        REL)
51 RELOC_TYPE (FPTR64I,            REL)
52 RELOC_TYPE (FPTR32MSB,          REL|EXEC|DYN)
53 RELOC_TYPE (FPTR32LSB,          REL|EXEC|DYN)
54 RELOC_TYPE (FPTR64MSB,          REL|EXEC|DYN)
55 RELOC_TYPE (FPTR64LSB,          REL|EXEC|DYN)
56 RELOC_TYPE (PCREL60B,           REL)
57 RELOC_TYPE (PCREL21B,           REL)
58 RELOC_TYPE (PCREL21M,           REL)
59 RELOC_TYPE (PCREL21F,           REL)
60 RELOC_TYPE (PCREL32MSB,         REL|EXEC|DYN)
61 RELOC_TYPE (PCREL32LSB,         REL|EXEC|DYN)
62 RELOC_TYPE (PCREL64MSB,         REL|EXEC|DYN)
63 RELOC_TYPE (PCREL64LSB,         REL|EXEC|DYN)
64 RELOC_TYPE (LTOFF_FPTR22,       REL)
65 RELOC_TYPE (LTOFF_FPTR64I,      REL)
66 RELOC_TYPE (LTOFF_FPTR32MSB,    REL)
67 RELOC_TYPE (LTOFF_FPTR32LSB,    REL)
68 RELOC_TYPE (LTOFF_FPTR64MSB,    REL)
69 RELOC_TYPE (LTOFF_FPTR64LSB,    REL)
70 RELOC_TYPE (SEGREL32MSB,        REL)
71 RELOC_TYPE (SEGREL32LSB,        REL)
72 RELOC_TYPE (SEGREL64MSB,        REL)
73 RELOC_TYPE (SEGREL64LSB,        REL)
74 RELOC_TYPE (SECREL32MSB,        REL)
75 RELOC_TYPE (SECREL32LSB,        REL)
76 RELOC_TYPE (SECREL64MSB,        REL)
77 RELOC_TYPE (SECREL64LSB,        REL)
78 RELOC_TYPE (REL32MSB,           EXEC|DYN)
79 RELOC_TYPE (REL32LSB,           EXEC|DYN)
80 RELOC_TYPE (REL64MSB,           EXEC|DYN)
81 RELOC_TYPE (REL64LSB,           EXEC|DYN)
82 RELOC_TYPE (LTV32MSB,           REL)
83 RELOC_TYPE (LTV32LSB,           REL)
84 RELOC_TYPE (LTV64MSB,           REL)
85 RELOC_TYPE (LTV64LSB,           REL)
86 RELOC_TYPE (PCREL21BI,          REL)
87 RELOC_TYPE (PCREL22,            REL)
88 RELOC_TYPE (PCREL64I,           REL)
89 RELOC_TYPE (IPLTMSB,            REL|EXEC|DYN)
90 RELOC_TYPE (IPLTLSB,            REL|EXEC|DYN)
91 RELOC_TYPE (COPY,               EXEC)
92 RELOC_TYPE (SUB,                0)
93 RELOC_TYPE (LTOFF22X,           REL)
94 RELOC_TYPE (LDXMOV,             REL)
95 RELOC_TYPE (TPREL14,            REL)
96 RELOC_TYPE (TPREL22,            REL)
97 RELOC_TYPE (TPREL64I,           REL)
98 RELOC_TYPE (TPREL64MSB,         REL|EXEC|DYN)
99 RELOC_TYPE (TPREL64LSB,         REL|EXEC|DYN)
100 RELOC_TYPE (LTOFF_TPREL22,      REL)
101 RELOC_TYPE (DTPMOD64MSB,        REL|EXEC|DYN)
102 RELOC_TYPE (DTPMOD64LSB,        REL|EXEC|DYN)
103 RELOC_TYPE (LTOFF_DTPMOD22,     REL)
104 RELOC_TYPE (DTPREL14,           REL)
105 RELOC_TYPE (DTPREL22,           REL)
106 RELOC_TYPE (DTPREL64I,          REL)
107 RELOC_TYPE (DTPREL32MSB,        REL|EXEC|DYN)
108 RELOC_TYPE (DTPREL32LSB,        REL|EXEC|DYN)
109 RELOC_TYPE (DTPREL64MSB,        REL|EXEC|DYN)
110 RELOC_TYPE (DTPREL64LSB,        REL|EXEC|DYN)
111 RELOC_TYPE (LTOFF_DTPREL22,     REL)
112
113 #define NO_RELATIVE_RELOC       1