/src/binutils-gdb/include/elf/visium.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* Visium ELF support for BFD. |
2 | | |
3 | | Copyright (C) 2002-2023 Free Software Foundation, Inc. |
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 3 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 Foundation, |
19 | | Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ |
20 | | |
21 | | #ifndef _ELF_VISIUM_H |
22 | | #define _ELF_VISIUM_H |
23 | | |
24 | | #include "elf/reloc-macros.h" |
25 | | |
26 | | /* Processor specific flags for the ELF header e_flags field. */ |
27 | 216 | #define EF_VISIUM_ARCH_MCM 0x01 |
28 | 94 | #define EF_VISIUM_ARCH_MCM24 0x02 |
29 | 216 | #define EF_VISIUM_ARCH_GR6 0x04 |
30 | | |
31 | | /* Relocations. */ |
32 | 165k | START_RELOC_NUMBERS (elf_visium_reloc_type) |
33 | 165k | RELOC_NUMBER (R_VISIUM_NONE, 0) |
34 | 2.55k | RELOC_NUMBER (R_VISIUM_8, 1) |
35 | 4.33k | RELOC_NUMBER (R_VISIUM_16, 2) |
36 | 1.38k | RELOC_NUMBER (R_VISIUM_32, 3) |
37 | 3.08k | RELOC_NUMBER (R_VISIUM_8_PCREL, 4) |
38 | 2.05k | RELOC_NUMBER (R_VISIUM_16_PCREL, 5) |
39 | 886 | RELOC_NUMBER (R_VISIUM_32_PCREL, 6) |
40 | 1.30k | RELOC_NUMBER (R_VISIUM_PC16, 7) |
41 | 1.42k | RELOC_NUMBER (R_VISIUM_HI16, 8) |
42 | 2.31k | RELOC_NUMBER (R_VISIUM_LO16, 9) |
43 | 1.94k | RELOC_NUMBER (R_VISIUM_IM16, 10) |
44 | 485 | RELOC_NUMBER (R_VISIUM_HI16_PCREL, 11) |
45 | 447 | RELOC_NUMBER (R_VISIUM_LO16_PCREL, 12) |
46 | 925 | RELOC_NUMBER (R_VISIUM_IM16_PCREL, 13) |
47 | 285 | RELOC_NUMBER (R_VISIUM_GNU_VTINHERIT, 200) |
48 | 321 | RELOC_NUMBER (R_VISIUM_GNU_VTENTRY, 201) |
49 | 83.8k | END_RELOC_NUMBERS(R_VISIUM_max) |
50 | | |
51 | | #endif /* _ELF_VISIUM_H */ |