Imported Upstream version 0.155
[platform/upstream/elfutils.git] / backends / tilegx_reloc.def
1 /* List the relocation types for tilegx.  -*- C -*-
2    Copyright (C) 2012 Tilera Corporation
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 (64,                         REL|EXEC|DYN)
33 RELOC_TYPE (32,                         REL|EXEC|DYN)
34 RELOC_TYPE (16,                         REL|EXEC|DYN)
35 RELOC_TYPE (8,                          REL|EXEC|DYN)
36 RELOC_TYPE (64_PCREL,                   REL)
37 RELOC_TYPE (32_PCREL,                   REL)
38 RELOC_TYPE (16_PCREL,                   REL)
39 RELOC_TYPE (8_PCREL,                    REL)
40 RELOC_TYPE (HW0,                        REL)
41 RELOC_TYPE (HW1,                        REL)
42 RELOC_TYPE (HW2,                        REL)
43 RELOC_TYPE (HW3,                        REL)
44 RELOC_TYPE (HW0_LAST,                   REL)
45 RELOC_TYPE (HW1_LAST,                   REL)
46 RELOC_TYPE (HW2_LAST,                   REL)
47 RELOC_TYPE (COPY,                       EXEC)
48 RELOC_TYPE (GLOB_DAT,                   EXEC|DYN)
49 RELOC_TYPE (JMP_SLOT,                   EXEC|DYN)
50 RELOC_TYPE (RELATIVE,                   EXEC|DYN)
51 RELOC_TYPE (BROFF_X1,                   REL)
52 RELOC_TYPE (JUMPOFF_X1,                 REL)
53 RELOC_TYPE (JUMPOFF_X1_PLT,             REL)
54 RELOC_TYPE (IMM8_X0,                    REL)
55 RELOC_TYPE (IMM8_Y0,                    REL)
56 RELOC_TYPE (IMM8_X1,                    REL)
57 RELOC_TYPE (IMM8_Y1,                    REL)
58 RELOC_TYPE (DEST_IMM8_X1,               REL)
59 RELOC_TYPE (MT_IMM14_X1,                REL)
60 RELOC_TYPE (MF_IMM14_X1,                REL)
61 RELOC_TYPE (MMSTART_X0,                 REL)
62 RELOC_TYPE (MMEND_X0,                   REL)
63 RELOC_TYPE (SHAMT_X0,                   REL)
64 RELOC_TYPE (SHAMT_X1,                   REL)
65 RELOC_TYPE (SHAMT_Y0,                   REL)
66 RELOC_TYPE (SHAMT_Y1,                   REL)
67 RELOC_TYPE (IMM16_X0_HW0,               REL)
68 RELOC_TYPE (IMM16_X1_HW0,               REL)
69 RELOC_TYPE (IMM16_X0_HW1,               REL)
70 RELOC_TYPE (IMM16_X1_HW1,               REL)
71 RELOC_TYPE (IMM16_X0_HW2,               REL)
72 RELOC_TYPE (IMM16_X1_HW2,               REL)
73 RELOC_TYPE (IMM16_X0_HW3,               REL)
74 RELOC_TYPE (IMM16_X1_HW3,               REL)
75 RELOC_TYPE (IMM16_X0_HW0_LAST,          REL)
76 RELOC_TYPE (IMM16_X1_HW0_LAST,          REL)
77 RELOC_TYPE (IMM16_X0_HW1_LAST,          REL)
78 RELOC_TYPE (IMM16_X1_HW1_LAST,          REL)
79 RELOC_TYPE (IMM16_X0_HW2_LAST,          REL)
80 RELOC_TYPE (IMM16_X1_HW2_LAST,          REL)
81 RELOC_TYPE (IMM16_X0_HW0_PCREL,         REL)
82 RELOC_TYPE (IMM16_X1_HW0_PCREL,         REL)
83 RELOC_TYPE (IMM16_X0_HW1_PCREL,         REL)
84 RELOC_TYPE (IMM16_X1_HW1_PCREL,         REL)
85 RELOC_TYPE (IMM16_X0_HW2_PCREL,         REL)
86 RELOC_TYPE (IMM16_X1_HW2_PCREL,         REL)
87 RELOC_TYPE (IMM16_X0_HW3_PCREL,         REL)
88 RELOC_TYPE (IMM16_X1_HW3_PCREL,         REL)
89 RELOC_TYPE (IMM16_X0_HW0_LAST_PCREL,    REL)
90 RELOC_TYPE (IMM16_X1_HW0_LAST_PCREL,    REL)
91 RELOC_TYPE (IMM16_X0_HW1_LAST_PCREL,    REL)
92 RELOC_TYPE (IMM16_X1_HW1_LAST_PCREL,    REL)
93 RELOC_TYPE (IMM16_X0_HW2_LAST_PCREL,    REL)
94 RELOC_TYPE (IMM16_X1_HW2_LAST_PCREL,    REL)
95 RELOC_TYPE (IMM16_X0_HW0_GOT,           REL)
96 RELOC_TYPE (IMM16_X1_HW0_GOT,           REL)
97 RELOC_TYPE (IMM16_X0_HW0_LAST_GOT,      REL)
98 RELOC_TYPE (IMM16_X1_HW0_LAST_GOT,      REL)
99 RELOC_TYPE (IMM16_X0_HW1_LAST_GOT,      REL)
100 RELOC_TYPE (IMM16_X1_HW1_LAST_GOT,      REL)
101 RELOC_TYPE (IMM16_X0_HW0_TLS_GD,        REL)
102 RELOC_TYPE (IMM16_X1_HW0_TLS_GD,        REL)
103 RELOC_TYPE (IMM16_X0_HW0_LAST_TLS_GD,   REL)
104 RELOC_TYPE (IMM16_X1_HW0_LAST_TLS_GD,   REL)
105 RELOC_TYPE (IMM16_X0_HW1_LAST_TLS_GD,   REL)
106 RELOC_TYPE (IMM16_X1_HW1_LAST_TLS_GD,   REL)
107 RELOC_TYPE (IMM16_X0_HW0_TLS_IE,        REL)
108 RELOC_TYPE (IMM16_X1_HW0_TLS_IE,        REL)
109 RELOC_TYPE (IMM16_X0_HW0_LAST_TLS_IE,   REL)
110 RELOC_TYPE (IMM16_X1_HW0_LAST_TLS_IE,   REL)
111 RELOC_TYPE (IMM16_X0_HW1_LAST_TLS_IE,   REL)
112 RELOC_TYPE (IMM16_X1_HW1_LAST_TLS_IE,   REL)
113 RELOC_TYPE (TLS_DTPMOD64,               EXEC|DYN)
114 RELOC_TYPE (TLS_DTPOFF64,               EXEC|DYN)
115 RELOC_TYPE (TLS_TPOFF64,                EXEC|DYN)
116 RELOC_TYPE (TLS_DTPMOD32,               EXEC|DYN)
117 RELOC_TYPE (TLS_DTPOFF32,               EXEC|DYN)
118 RELOC_TYPE (TLS_TPOFF32,                EXEC|DYN)
119 RELOC_TYPE (GNU_VTINHERIT,              REL)
120 RELOC_TYPE (GNU_VTENTRY,                REL)