Commit | Line | Data |
---|---|---|
cbc34241 MM |
1 | /* V850 ELF support for BFD. |
2 | Copyright (C) 1997 Free Software Foundation, Inc. | |
3 | Created by Michael Meissner, Cygnus Support <meissner@cygnus.com> | |
4 | ||
5 | This file is part of BFD, the Binary File Descriptor library. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | |
20 | ||
21 | /* This file holds definitions specific to the MIPS ELF ABI. Note | |
22 | that most of this is not actually implemented by BFD. */ | |
23 | ||
24 | #ifndef _ELF_V850_H | |
25 | #define _ELF_V850_H | |
26 | ||
27 | /* Flags for the other field */ | |
28 | #define V850_OTHER_SDA 0x01 /* symbol had SDA relocations */ | |
29 | #define V850_OTHER_ZDA 0x02 /* symbol had ZDA relocations */ | |
30 | #define V850_OTHER_TDA 0x04 /* symbol had TDA relocations */ | |
31 | ||
32 | /* Processor specific section indices. These sections do not actually | |
33 | exist. Symbols with a st_shndx field corresponding to one of these | |
34 | values have a special meaning. */ | |
35 | ||
36 | /* Defined and allocated common symbol. Value is virtual address. If | |
37 | relocated, alignment must be preserved. */ | |
38 | #define SHN_V850_SCOMMON 0xff00 /* common referenced by sdaoff(label)[gp] */ | |
39 | #define SHN_V850_ZCOMMON 0xff01 /* common referenced by zdaoff(label)[r0] */ | |
40 | #define SHN_V850_TCOMMON 0xff02 /* common referenced by tdaoff(label)[ep] */ | |
41 | ||
42 | #endif /* _ELF_V850_H */ |