1 /* ARC ELF support for BFD.
2 Copyright (C) 1995 Free Software Foundation, Inc.
6 This file is part of BFD, the Binary File Descriptor library.
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.
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.
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. */
22 /* This file holds definitions specific to the ARC ELF ABI. */
24 /* Processor specific flags for the ELF header e_flags field. */
26 /* File contains position independent code. */
27 #define EF_ARC_PIC 0x00000001
29 /* Four bit ARC architecture field. */
30 #define EF_MIPS_ARCH 0xf0000000
33 #define E_ARC_ARCH_BASE 0x00000000
36 #define E_ARC_ARCH_HOST 0x10000000
39 #define E_ARC_ARCH_GRAPHICS 0x20000000
42 #define E_ARC_ARCH_AUDIO 0x30000000
44 /* Processor specific section types. */
46 /* Section contains the global pointer table. */
47 #define SHT_ARC_GPTAB 0x70000000
49 /* Processor specific section flags. */
51 /* This section must be in the global data area. */
52 #define SHF_ARC_GPREL 0x10000000
54 /* Processor specific program header types. */
56 /* Register usage information. Identifies one .reginfo section. */
57 #define PT_ARC_REGINFO 0x70000000
59 /* Processor specific dynamic array tags. */
61 /* 32 bit version number for runtime linker interface. */
62 #define DT_ARC_RLD_VERSION 0x70000001
65 #define DT_ARC_TIME_STAMP 0x70000002
67 /* Index of version string in string table. */
68 #define DT_ARC_IVERSION 0x70000003
70 /* 32 bits of flags. */
71 #define DT_ARC_FLAGS 0x70000004