Platform specific relocation definitions.
[external/binutils.git] / include / elf / sh.h
1 /* SH ELF support for BFD.
2    Copyright (C) 1998 Free Software Foundation, Inc.
3
4    This file is part of BFD, the Binary File Descriptor library.
5
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2 of the License, or
9    (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software Foundation,
18    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19
20 #ifndef _ELF_SH_H
21 #define _ELF_SH_H
22
23 #define R_SH_NONE       0
24 #define R_SH_DIR32      1
25 #define R_SH_REL32      2
26 #define R_SH_DIR8WPN    3
27 #define R_SH_IND12W     4
28 #define R_SH_DIR8WPL    5
29 #define R_SH_DIR8WPZ    6
30 #define R_SH_DIR8BP     7
31 #define R_SH_DIR8W      8
32 #define R_SH_DIR8L      9
33 #define R_SH_SWITCH16   25
34 #define R_SH_SWITCH32   26
35 #define R_SH_USES       27
36 #define R_SH_COUNT      28
37 #define R_SH_ALIGN      29
38 #define R_SH_CODE       30
39 #define R_SH_DATA       31
40 #define R_SH_LABEL      32
41
42 #endif