aboutsummaryrefslogtreecommitdiff
path: root/backends/arc_reloc.def
diff options
context:
space:
mode:
Diffstat (limited to 'backends/arc_reloc.def')
-rw-r--r--backends/arc_reloc.def87
1 files changed, 87 insertions, 0 deletions
diff --git a/backends/arc_reloc.def b/backends/arc_reloc.def
new file mode 100644
index 00000000..dfa30629
--- /dev/null
+++ b/backends/arc_reloc.def
@@ -0,0 +1,87 @@
+/* List the relocation types for ARC. -*- C -*-
+ This file is part of elfutils.
+
+ This file is free software; you can redistribute it and/or modify
+ it under the terms of either
+
+ * the GNU Lesser General Public License as published by the Free
+ Software Foundation; either version 3 of the License, or (at
+ your option) any later version
+
+ or
+
+ * the GNU General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at
+ your option) any later version
+
+ or both in parallel, as here.
+
+ elfutils is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received copies of the GNU General Public License and
+ the GNU Lesser General Public License along with this program. If
+ not, see <http://www.gnu.org/licenses/>. */
+
+/* NAME, REL|EXEC|DYN */
+
+RELOC_TYPE (NONE, EXEC|DYN)
+RELOC_TYPE (8, REL|EXEC|DYN)
+RELOC_TYPE (16, REL|EXEC|DYN)
+RELOC_TYPE (24, REL|EXEC|DYN)
+RELOC_TYPE (32, REL|EXEC|DYN)
+RELOC_TYPE (N8, REL|EXEC|DYN)
+RELOC_TYPE (N16, REL|EXEC|DYN)
+RELOC_TYPE (N24, REL|EXEC|DYN)
+RELOC_TYPE (N32, REL|EXEC|DYN)
+RELOC_TYPE (SDA, REL)
+RELOC_TYPE (SECTOFF, REL)
+RELOC_TYPE (S21H_PCREL, REL)
+RELOC_TYPE (S21W_PCREL, REL)
+RELOC_TYPE (S25H_PCREL, REL)
+RELOC_TYPE (S25W_PCREL, REL)
+RELOC_TYPE (SDA32, REL)
+RELOC_TYPE (SDA_LDST, REL)
+RELOC_TYPE (SDA_LDST1, REL)
+RELOC_TYPE (SDA_LDST2, REL)
+RELOC_TYPE (SDA16_LD, REL)
+RELOC_TYPE (SDA16_LD1, REL)
+RELOC_TYPE (SDA16_LD2, REL)
+RELOC_TYPE (S13_PCREL, REL)
+RELOC_TYPE (W, REL)
+RELOC_TYPE (32_ME, REL)
+RELOC_TYPE (N32_ME, REL)
+RELOC_TYPE (SECTOFF_ME, REL)
+RELOC_TYPE (SDA32_ME, REL)
+RELOC_TYPE (W_ME, REL)
+RELOC_TYPE (SDA_12, REL)
+RELOC_TYPE (SDA16_ST2, REL)
+RELOC_TYPE (32_PCREL, REL)
+RELOC_TYPE (PC32, REL)
+RELOC_TYPE (GOTPC32, REL)
+RELOC_TYPE (PLT32, REL)
+RELOC_TYPE (COPY, EXEC|DYN)
+RELOC_TYPE (GLOB_DAT, EXEC|DYN)
+RELOC_TYPE (JMP_SLOT, EXEC|DYN)
+RELOC_TYPE (RELATIVE, EXEC|DYN)
+RELOC_TYPE (GOTOFF, REL)
+RELOC_TYPE (GOTPC, REL)
+RELOC_TYPE (GOT32, REL)
+RELOC_TYPE (S21W_PCREL_PLT, REL)
+RELOC_TYPE (S25H_PCREL_PLT, REL)
+RELOC_TYPE (JLI_SECTOFF, REL)
+RELOC_TYPE (TLS_DTPMOD, REL)
+RELOC_TYPE (TLS_DTPOFF, REL)
+RELOC_TYPE (TLS_TPOFF, REL)
+RELOC_TYPE (TLS_GD_GOT, REL)
+RELOC_TYPE (TLS_GD_LD, REL)
+RELOC_TYPE (TLS_GD_CALL, REL)
+RELOC_TYPE (TLS_IE_GOT, REL)
+RELOC_TYPE (TLS_DTPOFF_S9, REL)
+RELOC_TYPE (TLS_LE_S9, REL)
+RELOC_TYPE (TLS_LE_32, REL)
+RELOC_TYPE (S25W_PCREL_PLT, REL)
+RELOC_TYPE (S21H_PCREL_PLT, REL)
+RELOC_TYPE (NPS_CMEM16, REL)