Add an AArch64 simulator to GDB.
[external/binutils.git] / sim / configure.tgt
1 dnl Note that this file is intended to be included at the m4 level and not
2 dnl the shell level, so use sinclude(...) to pull it in.
3
4 # WHEN ADDING ENTRIES TO THIS MATRIX:
5
6 # Make sure that the left side always has two dashes.  Otherwise you
7 # can get spurious matches.  Even for unambiguous cases, do this as a
8 # convention, else the table becomes a real mess to understand and
9 # maintain.
10
11 dnl glue to avoid code duplication at top level
12 m4_ifndef([SIM_ARCH], [AC_DEFUN([SIM_ARCH],[sim_arch=$1])])
13
14 sim_common=yes
15 sim_igen=no
16 sim_arch=
17 case "${target}" in
18    aarch64*-*-*)
19        SIM_ARCH(aarch64)
20        ;;
21    arm*-*-*)
22        SIM_ARCH(arm)
23        ;;
24    avr*-*-*)
25        SIM_ARCH(avr)
26        ;;
27    bfin-*-*)
28        SIM_ARCH(bfin)
29        ;;
30    cr16*-*-*)
31        SIM_ARCH(cr16)
32        ;;
33    cris-*-* | crisv32-*-*)
34        SIM_ARCH(cris)
35        ;;
36    d10v-*-*)
37        SIM_ARCH(d10v)
38        ;;
39    frv-*-*)
40        SIM_ARCH(frv)
41        ;;
42    h8300*-*-*)
43        SIM_ARCH(h8300)
44        ;;
45    iq2000-*-*)
46        SIM_ARCH(iq2000)
47        ;;
48    lm32-*-*)
49        SIM_ARCH(lm32)
50        ;;
51    m32c-*-*)
52        SIM_ARCH(m32c)
53        ;;
54    m32r-*-*)
55        SIM_ARCH(m32r)
56        ;;
57    m68hc11-*-*|m6811-*-*)
58        SIM_ARCH(m68hc11)
59        ;;
60    mcore-*-*)
61        SIM_ARCH(mcore)
62        ;;
63    microblaze-*-*)
64        SIM_ARCH(microblaze)
65        ;;
66    mips*-*-*)
67        SIM_ARCH(mips)
68        sim_igen=yes
69        ;;
70    mn10300*-*-*)
71        SIM_ARCH(mn10300)
72        sim_igen=yes
73        ;;
74    moxie-*-*)
75        SIM_ARCH(moxie)
76        ;;
77    msp430*-*-*)
78        SIM_ARCH(msp430)
79        ;;
80    rl78-*-*)
81        SIM_ARCH(rl78)
82        ;;
83    rx-*-*)
84        SIM_ARCH(rx)
85        ;;
86    sh64*-*-*)
87        SIM_ARCH(sh64)
88        ;;
89    sh*-*-*)
90        SIM_ARCH(sh)
91        ;;
92    sparc-*-rtems*|sparc-*-elf*)
93        SIM_ARCH(erc32)
94        ;;
95    powerpc*-*-*)
96        SIM_ARCH(ppc)
97        ;;
98    ft32-*-*)
99        SIM_ARCH(ft32)
100        ;;
101    v850*-*-*)
102        SIM_ARCH(v850)
103        sim_igen=yes
104        ;;
105    *)
106        # No simulator subdir, so the subdir "common" isn't needed.
107        sim_common=no
108        ;;
109 esac
110 AC_SUBST(sim_arch)