1/* List the relocation types for ia64.  -*- C -*-
2   Copyright (C) 2005, 2006, 2015 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
31RELOC_TYPE (NONE,		0)
32RELOC_TYPE (IMM14,		REL)
33RELOC_TYPE (IMM22,		REL)
34RELOC_TYPE (IMM64,		REL)
35RELOC_TYPE (DIR32MSB,		REL|EXEC|DYN)
36RELOC_TYPE (DIR32LSB,		REL|EXEC|DYN)
37RELOC_TYPE (DIR64MSB,		REL|EXEC|DYN)
38RELOC_TYPE (DIR64LSB,		REL|EXEC|DYN)
39RELOC_TYPE (GPREL22,		REL)
40RELOC_TYPE (GPREL64I,		REL)
41RELOC_TYPE (GPREL32MSB,		REL)
42RELOC_TYPE (GPREL32LSB,		REL)
43RELOC_TYPE (GPREL64MSB,		REL)
44RELOC_TYPE (GPREL64LSB,		REL)
45RELOC_TYPE (LTOFF22,		REL)
46RELOC_TYPE (LTOFF64I,		REL)
47RELOC_TYPE (PLTOFF22,		REL)
48RELOC_TYPE (PLTOFF64I,		REL)
49RELOC_TYPE (PLTOFF64MSB,	REL)
50RELOC_TYPE (PLTOFF64LSB,	REL)
51RELOC_TYPE (FPTR64I,		REL)
52RELOC_TYPE (FPTR32MSB,		REL|EXEC|DYN)
53RELOC_TYPE (FPTR32LSB,		REL|EXEC|DYN)
54RELOC_TYPE (FPTR64MSB,		REL|EXEC|DYN)
55RELOC_TYPE (FPTR64LSB,		REL|EXEC|DYN)
56RELOC_TYPE (PCREL60B,		REL)
57RELOC_TYPE (PCREL21B,		REL)
58RELOC_TYPE (PCREL21M,		REL)
59RELOC_TYPE (PCREL21F,		REL)
60RELOC_TYPE (PCREL32MSB,		REL|EXEC|DYN)
61RELOC_TYPE (PCREL32LSB,		REL|EXEC|DYN)
62RELOC_TYPE (PCREL64MSB,		REL|EXEC|DYN)
63RELOC_TYPE (PCREL64LSB,		REL|EXEC|DYN)
64RELOC_TYPE (LTOFF_FPTR22,	REL)
65RELOC_TYPE (LTOFF_FPTR64I,	REL)
66RELOC_TYPE (LTOFF_FPTR32MSB,	REL)
67RELOC_TYPE (LTOFF_FPTR32LSB,	REL)
68RELOC_TYPE (LTOFF_FPTR64MSB,	REL)
69RELOC_TYPE (LTOFF_FPTR64LSB,	REL)
70RELOC_TYPE (SEGREL32MSB,	REL)
71RELOC_TYPE (SEGREL32LSB,	REL)
72RELOC_TYPE (SEGREL64MSB,	REL)
73RELOC_TYPE (SEGREL64LSB,	REL)
74RELOC_TYPE (SECREL32MSB,	REL)
75RELOC_TYPE (SECREL32LSB,	REL)
76RELOC_TYPE (SECREL64MSB,	REL)
77RELOC_TYPE (SECREL64LSB,	REL)
78RELOC_TYPE (REL32MSB,		EXEC|DYN)
79RELOC_TYPE (REL32LSB,		EXEC|DYN)
80RELOC_TYPE (REL64MSB,		EXEC|DYN)
81RELOC_TYPE (REL64LSB,		EXEC|DYN)
82RELOC_TYPE (LTV32MSB,		REL)
83RELOC_TYPE (LTV32LSB,		REL)
84RELOC_TYPE (LTV64MSB,		REL)
85RELOC_TYPE (LTV64LSB,		REL)
86RELOC_TYPE (PCREL21BI,		REL)
87RELOC_TYPE (PCREL22,		REL)
88RELOC_TYPE (PCREL64I,		REL)
89RELOC_TYPE (IPLTMSB,		REL|EXEC|DYN)
90RELOC_TYPE (IPLTLSB,		REL|EXEC|DYN)
91RELOC_TYPE (COPY,		EXEC|DYN)
92RELOC_TYPE (SUB,		0)
93RELOC_TYPE (LTOFF22X,		REL)
94RELOC_TYPE (LDXMOV,		REL)
95RELOC_TYPE (TPREL14,		REL)
96RELOC_TYPE (TPREL22,		REL)
97RELOC_TYPE (TPREL64I,		REL)
98RELOC_TYPE (TPREL64MSB,		REL|EXEC|DYN)
99RELOC_TYPE (TPREL64LSB,		REL|EXEC|DYN)
100RELOC_TYPE (LTOFF_TPREL22,	REL)
101RELOC_TYPE (DTPMOD64MSB,	REL|EXEC|DYN)
102RELOC_TYPE (DTPMOD64LSB,	REL|EXEC|DYN)
103RELOC_TYPE (LTOFF_DTPMOD22,	REL)
104RELOC_TYPE (DTPREL14,		REL)
105RELOC_TYPE (DTPREL22,		REL)
106RELOC_TYPE (DTPREL64I,		REL)
107RELOC_TYPE (DTPREL32MSB,	REL|EXEC|DYN)
108RELOC_TYPE (DTPREL32LSB,	REL|EXEC|DYN)
109RELOC_TYPE (DTPREL64MSB,	REL|EXEC|DYN)
110RELOC_TYPE (DTPREL64LSB,	REL|EXEC|DYN)
111RELOC_TYPE (LTOFF_DTPREL22,	REL)
112
113#define NO_RELATIVE_RELOC	1
114