mn10200.h revision 78828
1248590Smm/* MN10200 ELF support for BFD.
2248590Smm   Copyright 1998, 2000 Free Software Foundation, Inc.
3248590Smm
4248590SmmThis file is part of BFD, the Binary File Descriptor library.
5248590Smm
6248590SmmThis program is free software; you can redistribute it and/or modify
7248590Smmit under the terms of the GNU General Public License as published by
8248590Smmthe Free Software Foundation; either version 2 of the License, or
9248590Smm(at your option) any later version.
10248590Smm
11248590SmmThis program is distributed in the hope that it will be useful,
12248590Smmbut WITHOUT ANY WARRANTY; without even the implied warranty of
13248590SmmMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14248590SmmGNU General Public License for more details.
15248590Smm
16248590SmmYou should have received a copy of the GNU General Public License
17248590Smmalong with this program; if not, write to the Free Software
18248590SmmFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19248590Smm
20248590Smm/* This file holds definitions specific to the MN10200 ELF ABI. */
21248590Smm
22248590Smm#ifndef _ELF_MN10200_H
23248590Smm#define _ELF_MN10200_H
24248590Smm
25248590Smm#include "elf/reloc-macros.h"
26248590Smm
27248590Smm/* Relocations.  */
28248590SmmSTART_RELOC_NUMBERS (elf_mn10200_reloc_type)
29248590Smm  RELOC_NUMBER (R_MN10200_NONE, 0)
30248590Smm  RELOC_NUMBER (R_MN10200_32, 1)
31248590Smm  RELOC_NUMBER (R_MN10200_16, 2)
32248590Smm  RELOC_NUMBER (R_MN10200_8, 3)
33248590Smm  RELOC_NUMBER (R_MN10200_24, 4)
34248590Smm  RELOC_NUMBER (R_MN10200_PCREL8, 5)
35248590Smm  RELOC_NUMBER (R_MN10200_PCREL16, 6)
36248590Smm  RELOC_NUMBER (R_MN10200_PCREL24, 7)
37248590SmmEND_RELOC_NUMBERS (R_MN10200_max)
38248590Smm
39248590Smm#endif /* _ELF_MN10200_H */
40248590Smm