[PowerPC] Reject tdescs with VSX and no FPU or Altivec
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-ppc-tdesc-init.h
CommitLineData
a2174ba4
MK
1/* Low level support for ppc, shared between gdbserver and IPA.
2
e2882c85 3 Copyright (C) 2016-2018 Free Software Foundation, Inc.
a2174ba4
MK
4
5 This file is part of GDB.
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, see <http://www.gnu.org/licenses/>. */
19
20/* Note: since IPA obviously knows what ABI it's running on (32 vs 64),
21 it's sufficient to pass only the register set here. This, together with
22 the ABI known at IPA compile time, maps to a tdesc. */
23
24enum ppc_linux_tdesc {
25 PPC_TDESC_BASE,
26 PPC_TDESC_ALTIVEC,
27 PPC_TDESC_CELL,
28 PPC_TDESC_VSX,
29 PPC_TDESC_ISA205,
30 PPC_TDESC_ISA205_ALTIVEC,
31 PPC_TDESC_ISA205_VSX,
7ca18ed6 32 PPC_TDESC_ISA205_PPR_DSCR_VSX,
f2cf6173 33 PPC_TDESC_ISA207_VSX,
a2174ba4
MK
34 PPC_TDESC_E500,
35};
36
37#if !defined __powerpc64__ || !defined IN_PROCESS_AGENT
38
39/* Defined in auto-generated file powerpc-32l.c. */
40void init_registers_powerpc_32l (void);
a2174ba4
MK
41
42/* Defined in auto-generated file powerpc-altivec32l.c. */
43void init_registers_powerpc_altivec32l (void);
a2174ba4
MK
44
45/* Defined in auto-generated file powerpc-cell32l.c. */
46void init_registers_powerpc_cell32l (void);
a2174ba4
MK
47
48/* Defined in auto-generated file powerpc-vsx32l.c. */
49void init_registers_powerpc_vsx32l (void);
a2174ba4
MK
50
51/* Defined in auto-generated file powerpc-isa205-32l.c. */
52void init_registers_powerpc_isa205_32l (void);
a2174ba4
MK
53
54/* Defined in auto-generated file powerpc-isa205-altivec32l.c. */
55void init_registers_powerpc_isa205_altivec32l (void);
a2174ba4
MK
56
57/* Defined in auto-generated file powerpc-isa205-vsx32l.c. */
58void init_registers_powerpc_isa205_vsx32l (void);
a2174ba4 59
7ca18ed6
EBM
60/* Defined in auto-generated file powerpc-isa205-ppr-dscr-vsx32l.c. */
61void init_registers_powerpc_isa205_ppr_dscr_vsx32l (void);
62
f2cf6173
EBM
63/* Defined in auto-generated file powerpc-isa207-vsx32l.c. */
64void init_registers_powerpc_isa207_vsx32l (void);
65
a2174ba4
MK
66/* Defined in auto-generated file powerpc-e500l.c. */
67void init_registers_powerpc_e500l (void);
a2174ba4
MK
68
69#endif
70
71#if defined __powerpc64__
72
73/* Defined in auto-generated file powerpc-64l.c. */
74void init_registers_powerpc_64l (void);
a2174ba4
MK
75
76/* Defined in auto-generated file powerpc-altivec64l.c. */
77void init_registers_powerpc_altivec64l (void);
a2174ba4
MK
78
79/* Defined in auto-generated file powerpc-cell64l.c. */
80void init_registers_powerpc_cell64l (void);
a2174ba4
MK
81
82/* Defined in auto-generated file powerpc-vsx64l.c. */
83void init_registers_powerpc_vsx64l (void);
a2174ba4
MK
84
85/* Defined in auto-generated file powerpc-isa205-64l.c. */
86void init_registers_powerpc_isa205_64l (void);
a2174ba4
MK
87
88/* Defined in auto-generated file powerpc-isa205-altivec64l.c. */
89void init_registers_powerpc_isa205_altivec64l (void);
a2174ba4
MK
90
91/* Defined in auto-generated file powerpc-isa205-vsx64l.c. */
92void init_registers_powerpc_isa205_vsx64l (void);
a2174ba4 93
7ca18ed6
EBM
94/* Defined in auto-generated file powerpc-isa205-ppr-dscr-vsx64l.c. */
95void init_registers_powerpc_isa205_ppr_dscr_vsx64l (void);
96
f2cf6173
EBM
97/* Defined in auto-generated file powerpc-isa207-vsx64l.c. */
98void init_registers_powerpc_isa207_vsx64l (void);
99
a2174ba4 100#endif
This page took 0.259627 seconds and 4 git commands to generate.