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