xref: /openbsd-src/gnu/usr.bin/binutils/include/elf/mn10200.h (revision 5f210c2af8ad7a823d98e333e3a6e3d7999783f5)
1f7cc78ecSespie /* MN10200 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
18f7cc78ecSespie Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19f7cc78ecSespie 
20f7cc78ecSespie /* This file holds definitions specific to the MN10200 ELF ABI. */
21f7cc78ecSespie 
22f7cc78ecSespie #ifndef _ELF_MN10200_H
23f7cc78ecSespie #define _ELF_MN10200_H
24f7cc78ecSespie 
25f7cc78ecSespie #include "elf/reloc-macros.h"
26f7cc78ecSespie 
27f7cc78ecSespie /* Relocations.  */
28f7cc78ecSespie START_RELOC_NUMBERS (elf_mn10200_reloc_type)
29f7cc78ecSespie   RELOC_NUMBER (R_MN10200_NONE, 0)
30f7cc78ecSespie   RELOC_NUMBER (R_MN10200_32, 1)
31f7cc78ecSespie   RELOC_NUMBER (R_MN10200_16, 2)
32f7cc78ecSespie   RELOC_NUMBER (R_MN10200_8, 3)
33f7cc78ecSespie   RELOC_NUMBER (R_MN10200_24, 4)
34f7cc78ecSespie   RELOC_NUMBER (R_MN10200_PCREL8, 5)
35f7cc78ecSespie   RELOC_NUMBER (R_MN10200_PCREL16, 6)
36f7cc78ecSespie   RELOC_NUMBER (R_MN10200_PCREL24, 7)
37*5f210c2aSfgsch END_RELOC_NUMBERS (R_MN10200_max)
38f7cc78ecSespie 
39f7cc78ecSespie #endif /* _ELF_MN10200_H */
40