1275680Strasz/* d10v ELF support for BFD.
2275680Strasz   Copyright 1998, 2000 Free Software Foundation, Inc.
3287441Sasomers
4287441Sasomers   This file is part of BFD, the Binary File Descriptor library.
5275680Strasz
6293776Sallanjude   This program is free software; you can redistribute it and/or modify
7293776Sallanjude   it under the terms of the GNU General Public License as published by
8293776Sallanjude   the Free Software Foundation; either version 2 of the License, or
9293776Sallanjude   (at your option) any later version.
10293776Sallanjude
11293776Sallanjude   This program is distributed in the hope that it will be useful,
12275680Strasz   but WITHOUT ANY WARRANTY; without even the implied warranty of
13275680Strasz   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14293776Sallanjude   GNU General Public License for more details.
15275680Strasz
16287441Sasomers   You should have received a copy of the GNU General Public License
17287441Sasomers   along with this program; if not, write to the Free Software Foundation,
18287441Sasomers   Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
19287441Sasomers
20293776Sallanjude#ifndef _ELF_D10V_H
21293776Sallanjude#define _ELF_D10V_H
22293776Sallanjude
23293776Sallanjude#include "elf/reloc-macros.h"
24293776Sallanjude
25293776Sallanjude/* Relocation types.  */
26293776SallanjudeSTART_RELOC_NUMBERS (elf_d10v_reloc_type)
27293776Sallanjude  RELOC_NUMBER (R_D10V_NONE, 0)
28293776Sallanjude  RELOC_NUMBER (R_D10V_10_PCREL_R, 1)
29293776Sallanjude  RELOC_NUMBER (R_D10V_10_PCREL_L, 2)
30293776Sallanjude  RELOC_NUMBER (R_D10V_16, 3)
31293776Sallanjude  RELOC_NUMBER (R_D10V_18, 4)
32293776Sallanjude  RELOC_NUMBER (R_D10V_18_PCREL, 5)
33293776Sallanjude  RELOC_NUMBER (R_D10V_32, 6)
34293776Sallanjude  RELOC_NUMBER (R_D10V_GNU_VTINHERIT, 7)
35293776Sallanjude  RELOC_NUMBER (R_D10V_GNU_VTENTRY, 8)
36293776SallanjudeEND_RELOC_NUMBERS (R_D10V_max)
37293776Sallanjude
38293776Sallanjude#endif
39293776Sallanjude