Commit | Line | Data |
---|---|---|
e4091a46 DE |
1 | /* ARC ELF support for BFD. |
2 | Copyright (C) 1995 Free Software Foundation, Inc. | |
3 | ||
4 | Copied from mips.h. | |
5 | ||
6 | This file is part of BFD, the Binary File Descriptor library. | |
7 | ||
8 | This program is free software; you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation; either version 2 of the License, or | |
11 | (at your option) any later version. | |
12 | ||
13 | This program is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with this program; if not, write to the Free Software | |
20 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
21 | ||
22 | /* This file holds definitions specific to the ARC ELF ABI. */ | |
23 | ||
24 | /* Processor specific flags for the ELF header e_flags field. */ | |
25 | ||
26 | /* File contains position independent code. */ | |
27 | #define EF_ARC_PIC 0x00000001 | |
28 | ||
29 | /* Four bit ARC architecture field. */ | |
30 | #define EF_MIPS_ARCH 0xf0000000 | |
31 | ||
32 | /* Base ARC. */ | |
33 | #define E_ARC_ARCH_BASE 0x00000000 | |
34 | ||
35 | /* Host ARC. */ | |
36 | #define E_ARC_ARCH_HOST 0x10000000 | |
37 | ||
38 | /* Graphics ARC. */ | |
39 | #define E_ARC_ARCH_GRAPHICS 0x20000000 | |
40 | ||
41 | /* Audio ARC. */ | |
42 | #define E_ARC_ARCH_AUDIO 0x30000000 | |
43 | \f | |
44 | /* Processor specific section types. */ | |
45 | ||
46 | /* Section contains the global pointer table. */ | |
47 | #define SHT_ARC_GPTAB 0x70000000 | |
48 | \f | |
49 | /* Processor specific section flags. */ | |
50 | ||
51 | /* This section must be in the global data area. */ | |
52 | #define SHF_ARC_GPREL 0x10000000 | |
53 | \f | |
54 | /* Processor specific program header types. */ | |
55 | ||
56 | /* Register usage information. Identifies one .reginfo section. */ | |
57 | #define PT_ARC_REGINFO 0x70000000 | |
58 | \f | |
59 | /* Processor specific dynamic array tags. */ | |
60 | ||
61 | /* 32 bit version number for runtime linker interface. */ | |
62 | #define DT_ARC_RLD_VERSION 0x70000001 | |
63 | ||
64 | /* Time stamp. */ | |
65 | #define DT_ARC_TIME_STAMP 0x70000002 | |
66 | ||
67 | /* Index of version string in string table. */ | |
68 | #define DT_ARC_IVERSION 0x70000003 | |
69 | ||
70 | /* 32 bits of flags. */ | |
71 | #define DT_ARC_FLAGS 0x70000004 |