sim: hw: rework code to avoid gcc warnings
[deliverable/binutils-gdb.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_igen=no
15 sim_arch=
16 case "${target}" in
17 aarch64*-*-*)
18 SIM_ARCH(aarch64)
19 ;;
20 arm*-*-*)
21 SIM_ARCH(arm)
22 ;;
23 avr*-*-*)
24 SIM_ARCH(avr)
25 ;;
26 bfin-*-*)
27 SIM_ARCH(bfin)
28 ;;
29 bpf-*-*)
30 SIM_ARCH(bpf)
31 ;;
32 cr16*-*-*)
33 SIM_ARCH(cr16)
34 ;;
35 cris-*-* | crisv32-*-*)
36 SIM_ARCH(cris)
37 ;;
38 d10v-*-*)
39 SIM_ARCH(d10v)
40 ;;
41 frv-*-*)
42 SIM_ARCH(frv)
43 ;;
44 h8300*-*-*)
45 SIM_ARCH(h8300)
46 ;;
47 iq2000-*-*)
48 SIM_ARCH(iq2000)
49 ;;
50 lm32-*-*)
51 SIM_ARCH(lm32)
52 ;;
53 m32c-*-*)
54 SIM_ARCH(m32c)
55 ;;
56 m32r-*-*)
57 SIM_ARCH(m32r)
58 ;;
59 m68hc11-*-*|m6811-*-*)
60 SIM_ARCH(m68hc11)
61 ;;
62 mcore-*-*)
63 SIM_ARCH(mcore)
64 ;;
65 microblaze-*-*)
66 SIM_ARCH(microblaze)
67 ;;
68 mips*-*-*)
69 SIM_ARCH(mips)
70 sim_igen=yes
71 ;;
72 mn10300*-*-*)
73 SIM_ARCH(mn10300)
74 sim_igen=yes
75 ;;
76 moxie-*-*)
77 SIM_ARCH(moxie)
78 ;;
79 msp430*-*-*)
80 SIM_ARCH(msp430)
81 ;;
82 or1k-*-* | or1knd-*-*)
83 SIM_ARCH(or1k)
84 ;;
85 pru*-*-*)
86 SIM_ARCH(pru)
87 ;;
88 rl78-*-*)
89 SIM_ARCH(rl78)
90 ;;
91 rx-*-*)
92 SIM_ARCH(rx)
93 ;;
94 sh64*-*-*)
95 SIM_ARCH(sh64)
96 ;;
97 sh*-*-*)
98 SIM_ARCH(sh)
99 ;;
100 sparc-*-rtems*|sparc-*-elf*)
101 SIM_ARCH(erc32)
102 ;;
103 powerpc*-*-*)
104 SIM_ARCH(ppc)
105 ;;
106 ft32-*-*)
107 SIM_ARCH(ft32)
108 ;;
109 v850*-*-*)
110 SIM_ARCH(v850)
111 sim_igen=yes
112 ;;
113 esac
114 AC_SUBST(sim_arch)
This page took 0.034753 seconds and 4 git commands to generate.