xref: /openbsd-src/gnu/usr.bin/binutils/include/elf/d30v.h (revision 5f210c2af8ad7a823d98e333e3a6e3d7999783f5)
1f7cc78ecSespie /* d30v ELF support for BFD.
2*5f210c2aSfgsch    Copyright 1998, 2000 Free Software Foundation, Inc.
3f7cc78ecSespie 
4f7cc78ecSespie    This file is part of BFD, the Binary File Descriptor library.
5f7cc78ecSespie 
6f7cc78ecSespie    This program is free software; you can redistribute it and/or modify
7f7cc78ecSespie    it under the terms of the GNU General Public License as published by
8f7cc78ecSespie    the Free Software Foundation; either version 2 of the License, or
9f7cc78ecSespie    (at your option) any later version.
10f7cc78ecSespie 
11f7cc78ecSespie    This program is distributed in the hope that it will be useful,
12f7cc78ecSespie    but WITHOUT ANY WARRANTY; without even the implied warranty of
13f7cc78ecSespie    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14f7cc78ecSespie    GNU General Public License for more details.
15f7cc78ecSespie 
16f7cc78ecSespie    You should have received a copy of the GNU General Public License
17f7cc78ecSespie    along with this program; if not, write to the Free Software Foundation,
18f7cc78ecSespie    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19f7cc78ecSespie 
20f7cc78ecSespie #ifndef _ELF_D30V_H
21f7cc78ecSespie #define _ELF_D30V_H
22f7cc78ecSespie 
23f7cc78ecSespie #include "elf/reloc-macros.h"
24f7cc78ecSespie 
25f7cc78ecSespie /* Relocations.  */
26f7cc78ecSespie START_RELOC_NUMBERS (elf_d30v_reloc_type)
27f7cc78ecSespie   RELOC_NUMBER (R_D30V_NONE, 0)
28f7cc78ecSespie   RELOC_NUMBER (R_D30V_6, 1)
29f7cc78ecSespie   RELOC_NUMBER (R_D30V_9_PCREL, 2)
30f7cc78ecSespie   RELOC_NUMBER (R_D30V_9_PCREL_R, 3)
31f7cc78ecSespie   RELOC_NUMBER (R_D30V_15, 4)
32f7cc78ecSespie   RELOC_NUMBER (R_D30V_15_PCREL, 5)
33f7cc78ecSespie   RELOC_NUMBER (R_D30V_15_PCREL_R, 6)
34f7cc78ecSespie   RELOC_NUMBER (R_D30V_21, 7)
35f7cc78ecSespie   RELOC_NUMBER (R_D30V_21_PCREL, 8)
36f7cc78ecSespie   RELOC_NUMBER (R_D30V_21_PCREL_R, 9)
37f7cc78ecSespie   RELOC_NUMBER (R_D30V_32, 10)
38f7cc78ecSespie   RELOC_NUMBER (R_D30V_32_PCREL, 11)
39f7cc78ecSespie   RELOC_NUMBER (R_D30V_32_NORMAL, 12)
40*5f210c2aSfgsch END_RELOC_NUMBERS (R_D30V_max)
41f7cc78ecSespie 
42f7cc78ecSespie #endif
43