include/elf/
[deliverable/binutils-gdb.git] / gdb / configure.tgt
CommitLineData
c906108c
SS
1# Mappings from configurations to GDB target definitions. This is
2# invoked from the autoconf generated configure script.
3
4# This file sets the following shell variables:
a4ce5b0d 5# gdb_target_obs target-specific object files to use
9b624dbe 6# gdb_sim simulator library for target
fa987fc4
UW
7# gdb_osabi default OS ABI to use with target
8# build_gdbserver set to "yes" if gdbserver supports target
c906108c 9
6d10c194
UW
10# NOTE: Every file added to a gdb_target_obs variable for any target here
11# must also be added to either ALL_TARGET_OBS or ALL_64_TARGET_OBS
12# in Makefile.in!
13
d0c678e6 14case $targ in
7ce59000 15 d10v-*-* | \
483367ee
DJ
16 hppa*-*-hiux* | \
17 i[34567]86-ncr-* | \
483367ee
DJ
18 m68*-cisco*-* | \
19 m68*-tandem-* | \
20 m68*-*-os68k* | \
ad527d2e 21 mips*-*-pe | \
483367ee 22 rs6000-*-lynxos* | \
ad527d2e 23 sh*-*-pe | \
483367ee 24 null)
d0c678e6 25 echo "*** Configuration $targ is obsolete." >&2
483367ee
DJ
26 echo "*** Support has been REMOVED." >&2
27 exit 1
28 ;;
29esac
30
c906108c
SS
31# map target info into gdb names.
32
d0c678e6 33case "${targ}" in
c906108c 34
732cd360 35alpha*-*-osf*)
a4ce5b0d
UW
36 # Target: Little-endian Alpha running OSF/1
37 gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o"
732cd360
UW
38 ;;
39alpha*-*-linux*)
a4ce5b0d
UW
40 # Target: Little-endian Alpha running Linux
41 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
a3217aa0 42 linux-tdep.o solib.o solib-svr4.o"
732cd360 43 ;;
fa987fc4 44alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
a4ce5b0d
UW
45 # Target: FreeBSD/alpha
46 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
47 alphafbsd-tdep.o corelow.o solib.o solib-svr4.o"
fa987fc4 48 ;;
69489883 49alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
a4ce5b0d
UW
50 # Target: NetBSD/alpha
51 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
52 alphanbsd-tdep.o nbsd-tdep.o corelow.o solib.o \
53 solib-svr4.o"
732cd360
UW
54 ;;
55alpha*-*-openbsd*)
a4ce5b0d
UW
56 # Target: OpenBSD/alpha
57 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
58 alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
59 obsd-tdep.o corelow.o solib.o solib-svr4.o"
732cd360
UW
60 ;;
61alpha*-*-*)
a4ce5b0d
UW
62 # Target: Alpha
63 gdb_target_obs="alpha-tdep.o"
732cd360 64 ;;
c906108c 65
732cd360 66am33_2.0*-*-linux*)
a4ce5b0d 67 # Target: Matsushita mn10300 (AM33) running Linux
a3217aa0
PA
68 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
69 corelow.o solib.o solib-svr4.o"
732cd360 70 ;;
63a09be5 71
68070c10 72arm*-wince-pe | arm*-*-mingw32ce*)
a4ce5b0d
UW
73 # Target: ARM based machine running Windows CE (win32)
74 gdb_target_obs="arm-tdep.o arm-wince-tdep.o corelow.o \
75 solib.o solib-target.o"
732cd360
UW
76 build_gdbserver=yes
77 ;;
78arm*-*-linux*)
a4ce5b0d
UW
79 # Target: ARM based machine running GNU/Linux
80 gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
4aa995e1 81 solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o"
732cd360
UW
82 build_gdbserver=yes
83 ;;
69489883 84arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
a4ce5b0d
UW
85 # Target: NetBSD/arm
86 gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o"
732cd360
UW
87 ;;
88arm*-*-openbsd*)
a4ce5b0d
UW
89 # Target: OpenBSD/arm
90 gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
91 corelow.o solib.o solib-svr4.o"
732cd360 92 ;;
78664fa3
PA
93arm*-*-symbianelf*)
94 # Target: SymbianOS/arm
95 gdb_target_obs="arm-tdep.o solib-target.o arm-symbian-tdep.o"
96 ;;
fa987fc4 97arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
a4ce5b0d
UW
98 # Target: ARM embedded system
99 gdb_target_obs="arm-tdep.o"
9b624dbe 100 gdb_sim=../sim/arm/libsim.a
732cd360
UW
101 ;;
102
103avr-*-*)
a4ce5b0d
UW
104 # Target: AVR
105 gdb_target_obs="avr-tdep.o"
64c9be2e 106 gdb_sim=../sim/avr/libsim.a
732cd360
UW
107 ;;
108
91021223
MF
109bfin-*-*linux*)
110 # Target: Blackfin Linux
111 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
5387a0c6 112 gdb_sim=../sim/bfin/libsim.a
eb826dc6 113 build_gdbserver=yes
91021223
MF
114 ;;
115bfin-*-*)
116 # Target: Blackfin processor
117 gdb_target_obs="bfin-tdep.o"
5387a0c6 118 gdb_sim=../sim/bfin/libsim.a
91021223
MF
119 ;;
120
732cd360 121cris*)
a4ce5b0d
UW
122 # Target: CRIS
123 gdb_target_obs="cris-tdep.o corelow.o solib.o solib-svr4.o"
732cd360
UW
124 ;;
125
732cd360 126frv-*-*)
a4ce5b0d 127 # Target: Fujitsu FRV processor
a3217aa0 128 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o \
a4ce5b0d 129 solib.o solib-frv.o corelow.o"
9b624dbe 130 gdb_sim=../sim/frv/libsim.a
732cd360
UW
131 ;;
132
d7066cce
AG
133moxie-*-elf)
134 gdb_target_obs="moxie-tdep.o"
c7098c41 135 gdb_sim=../sim/moxie/libsim.a
d7066cce
AG
136 ;;
137
732cd360 138h8300-*-*)
a4ce5b0d
UW
139 # Target: H8300 with HMS monitor and H8 simulator
140 gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
9b624dbe 141 gdb_sim=../sim/h8300/libsim.a
732cd360
UW
142 ;;
143
144hppa*-*-hpux*)
a4ce5b0d
UW
145 # Target: HP PA-RISC running hpux
146 gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o corelow.o \
147 solib.o solib-som.o solib-pa64.o"
732cd360
UW
148 ;;
149hppa*-*-linux*)
a4ce5b0d
UW
150 # Target: HP PA-RISC running Linux
151 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
a3217aa0 152 linux-tdep.o solib.o solib-svr4.o symfile-mem.o"
732cd360 153 ;;
af5ca30d
NH
154hppa*-*-netbsd*)
155 # Target: NetBSD/hppa
156 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o \
157 corelow.o solib.o solib-svr4.o"
158 ;;
732cd360 159hppa*-*-openbsd*)
a4ce5b0d 160 # Target: OpenBSD/hppa
af5ca30d 161 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o \
a4ce5b0d 162 corelow.o solib.o solib-svr4.o"
732cd360
UW
163 ;;
164hppa*-*-*)
a4ce5b0d
UW
165 # Target: HP PA-RISC
166 gdb_target_obs="hppa-tdep.o"
732cd360 167 ;;
c906108c 168
5cd226f2 169i[34567]86-*-darwin*)
a80b95ba 170 # Target: Darwin/i386
5cd226f2 171 gdb_target_obs="i386-tdep.o i387-tdep.o \
cf1061c0 172 i386-darwin-tdep.o solib.o solib-darwin.o"
5cd226f2
TG
173 if test "x$enable_64_bit_bfd" = "xyes"; then
174 # Target: GNU/Linux x86-64
175 gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
176 fi
a80b95ba 177 ;;
a15c5c83
PA
178i[34567]86-*-dicos*)
179 # Target: DICOS/i386
180 gdb_target_obs="i386-tdep.o i387-tdep.o \
4c1d2973 181 dicos-tdep.o i386-dicos-tdep.o \
a15c5c83
PA
182 corelow.o solib.o solib-target.o"
183 ;;
fa987fc4 184i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
a4ce5b0d
UW
185 # Target: FreeBSD/i386
186 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
187 bsd-uthread.o corelow.o solib.o solib-svr4.o"
fa987fc4 188 ;;
48184fd4 189i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
a4ce5b0d
UW
190 # Target: NetBSD/i386
191 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
192 nbsd-tdep.o corelow.o solib.o solib-svr4.o"
732cd360
UW
193 ;;
194i[34567]86-*-openbsd*)
a4ce5b0d
UW
195 # Target: OpenBSD/i386
196 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
197 bsd-uthread.o corelow.o solib.o solib-svr4.o"
732cd360
UW
198 ;;
199i[34567]86-*-nto*)
a4ce5b0d
UW
200 # Target: Intel 386 running qnx6.
201 gdb_target_obs="i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \
202 i386-nto-tdep.o nto-tdep.o"
7f86f499 203 build_gdbserver=yes
732cd360 204 ;;
03564ed9 205i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
a4ce5b0d
UW
206 # Target: Solaris x86_64
207 gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
208 i386-sol2-tdep.o sol2-tdep.o \
209 corelow.o solib.o solib-svr4.o"
732cd360
UW
210 ;;
211i[34567]86-*-solaris*)
a4ce5b0d
UW
212 # Target: Solaris x86
213 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
214 corelow.o solib.o solib-svr4.o"
732cd360
UW
215 ;;
216i[34567]86-*-linux*)
a4ce5b0d
UW
217 # Target: Intel 386 running GNU/Linux
218 gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
b7f6bf22
HZ
219 solib.o solib-svr4.o symfile-mem.o corelow.o \
220 linux-tdep.o linux-record.o"
0ca8834f
JM
221 if test "x$enable_64_bit_bfd" = "xyes"; then
222 # Target: GNU/Linux x86-64
223 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
224 fi
732cd360
UW
225 build_gdbserver=yes
226 ;;
227i[34567]86-*-gnu*)
a4ce5b0d
UW
228 # Target: Intel 386 running the GNU Hurd
229 gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o \
230 solib.o solib-svr4.o"
732cd360
UW
231 ;;
232i[34567]86-*-cygwin*)
a4ce5b0d
UW
233 # Target: Intel 386 running win32
234 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
31b060a2 235 solib-target.o corelow.o windows-tdep.o"
732cd360
UW
236 build_gdbserver=yes
237 ;;
238i[34567]86-*-mingw32*)
a4ce5b0d
UW
239 # Target: Intel 386 running win32
240 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
31b060a2 241 solib-target.o corelow.o windows-tdep.o"
732cd360
UW
242 build_gdbserver=yes
243 ;;
244i[34567]86-*-*)
a4ce5b0d
UW
245 # Target: i386
246 gdb_target_obs="i386-tdep.o i387-tdep.o"
732cd360
UW
247 ;;
248
92c9a463
JB
249ia64-*-hpux*)
250 # Target: Intel IA-64 running HP-UX
251 gdb_target_obs="ia64-tdep.o ia64-hpux-tdep.o"
252 ;;
732cd360 253ia64-*-linux*)
a4ce5b0d 254 # Target: Intel IA-64 running GNU/Linux
a3217aa0 255 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
a4ce5b0d 256 solib.o solib-svr4.o symfile-mem.o"
732cd360
UW
257 build_gdbserver=yes
258 ;;
259ia64*-*-*)
a4ce5b0d
UW
260 # Target: Intel IA-64
261 gdb_target_obs="ia64-tdep.o"
732cd360
UW
262 ;;
263
264iq2000-*-*)
a4ce5b0d 265 gdb_target_obs="iq2000-tdep.o"
9b624dbe 266 gdb_sim=../sim/iq2000/libsim.a
732cd360
UW
267 ;;
268
c28c63d8
JB
269lm32-*-*)
270 gdb_target_obs="lm32-tdep.o"
271 gdb_sim=../sim/lm32/libsim.a
272 ;;
273
732cd360 274m32c-*-*)
a4ce5b0d
UW
275 # Target: Renesas M32C family
276 gdb_target_obs="m32c-tdep.o prologue-value.o"
9b624dbe
UW
277 # There may also be a SID / CGEN simulator for this,
278 # but we do have DJ Delorie's mini-sim.
279 gdb_sim=../sim/m32c/libsim.a
732cd360
UW
280 ;;
281
282m32r*-*-linux*)
a4ce5b0d
UW
283 # Target: Renesas M32R running GNU/Linux
284 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
a3217aa0
PA
285 glibc-tdep.o solib.o solib-svr4.o symfile-mem.o \
286 linux-tdep.o"
9b624dbe 287 gdb_sim=../sim/m32r/libsim.a
732cd360
UW
288 build_gdbserver=yes
289 ;;
290m32r*-*-*)
a4ce5b0d
UW
291 # Target: Renesas m32r processor
292 gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
293 remote-m32r-sdi.o"
9b624dbe 294 gdb_sim=../sim/m32r/libsim.a
732cd360
UW
295 ;;
296
297m68hc11*-*-*|m6811*-*-*)
a4ce5b0d
UW
298 # Target: Motorola 68HC11 processor
299 gdb_target_obs="m68hc11-tdep.o"
9b624dbe 300 gdb_sim=../sim/m68hc11/libsim.a
732cd360
UW
301 ;;
302
fa987fc4
UW
303m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
304fido-*-elf*)
a4ce5b0d
UW
305 # Target: Motorola m68k embedded (e.g. bug monitors)
306 gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
732cd360
UW
307 ;;
308m68*-*-linux*)
a4ce5b0d
UW
309 # Target: Motorola m68k with a.out and ELF
310 gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o \
a3217aa0 311 linux-tdep.o glibc-tdep.o symfile-mem.o"
732cd360
UW
312 build_gdbserver=yes
313 ;;
69489883 314m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
a4ce5b0d
UW
315 # Target: NetBSD/m68k
316 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
317 corelow.o solib.o solib-svr4.o"
732cd360
UW
318 ;;
319m68*-*-openbsd*)
a4ce5b0d
UW
320 # Target: OpenBSD/m68k
321 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
322 corelow.o solib.o solib-svr4.o"
732cd360 323 ;;
732cd360
UW
324
325m88*-*-openbsd*)
a4ce5b0d
UW
326 # Target: OpenBSD/m88k
327 gdb_target_obs="m88k-tdep.o corelow.o"
732cd360
UW
328 ;;
329
330mep-*-*)
a4ce5b0d
UW
331 # Target: Toshiba Media Processor (MEP)
332 gdb_target_obs="mep-tdep.o prologue-value.o"
333 # No sim needed. Target uses SID.
732cd360
UW
334 ;;
335
97fc68fe 336microblaze*-linux-*|microblaze*-*-linux*)
2d1c1221
ME
337 # Target: Xilinx MicroBlaze running Linux
338 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \
339 monitor.o dsrec.o solib.o solib-svr4.o corelow.o \
a3217aa0 340 symfile-mem.o linux-tdep.o"
2d1c1221
ME
341 gdb_sim=../sim/microblaze/libsim.a
342 ;;
97fc68fe 343microblaze*-*-*)
2d1c1221
ME
344 # Target: Xilinx MicroBlaze running standalone
345 gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
346 gdb_sim=../sim/microblaze/libsim.a
347 ;;
348
732cd360 349mips*-sgi-irix5*)
a4ce5b0d
UW
350 # Target: MIPS SGI running Irix 5
351 gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
732cd360
UW
352 ;;
353mips*-sgi-irix6*)
a4ce5b0d
UW
354 # Target: MIPS SGI running Irix 6.x
355 gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
732cd360
UW
356 ;;
357mips*-*-linux*)
a4ce5b0d 358 # Target: Linux/MIPS
db5f024e 359 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
a3217aa0
PA
360 corelow.o solib.o solib-svr4.o symfile-mem.o \
361 linux-tdep.o"
9b624dbe 362 gdb_sim=../sim/mips/libsim.a
732cd360
UW
363 build_gdbserver=yes
364 ;;
69489883 365mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
a4ce5b0d
UW
366 # Target: MIPS running NetBSD
367 gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o \
368 corelow.o solib.o solib-svr4.o nbsd-tdep.o"
9b624dbe 369 gdb_sim=../sim/mips/libsim.a
732cd360
UW
370 ;;
371mips64*-*-openbsd*)
a4ce5b0d
UW
372 # Target: OpenBSD/mips64
373 gdb_target_obs="mips-tdep.o mips64obsd-tdep.o \
374 corelow.o solib.o solib-svr4.o"
732cd360 375 ;;
314d366a
KB
376mips*-*-elf)
377 # Target: MIPS ELF
378 gdb_target_obs="mips-tdep.o remote-mips.o"
379 gdb_sim=../sim/mips/libsim.a
380 ;;
732cd360 381mips*-*-*)
a4ce5b0d
UW
382 # Target: MIPS
383 gdb_target_obs="mips-tdep.o"
9b624dbe 384 gdb_sim=../sim/mips/libsim.a
732cd360
UW
385 ;;
386
387mn10300-*-*)
a4ce5b0d
UW
388 # Target: Matsushita mn10300
389 gdb_target_obs="mn10300-tdep.o"
9b624dbe 390 gdb_sim=../sim/mn10300/libsim.a
732cd360
UW
391 ;;
392
393mt-*-*)
a4ce5b0d
UW
394 # Target: Morpho Technologies ms1 processor
395 gdb_target_obs="mt-tdep.o"
732cd360 396 ;;
61def6bd 397
69489883 398powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
a4ce5b0d
UW
399 # Target: NetBSD/powerpc
400 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
401 corelow.o solib.o solib-svr4.o"
9b624dbe 402 gdb_sim=../sim/ppc/libsim.a
732cd360
UW
403 ;;
404powerpc-*-openbsd*)
a4ce5b0d
UW
405 # Target: OpenBSD/powerpc
406 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
407 corelow.o solib.o solib-svr4.o"
732cd360 408 ;;
d9178763 409powerpc-*-aix* | rs6000-*-*)
a4ce5b0d
UW
410 # Target: PowerPC running AIX
411 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
412 ppc-sysv-tdep.o solib.o solib-svr4.o"
732cd360 413 ;;
fa987fc4 414powerpc-*-linux* | powerpc64-*-linux*)
a4ce5b0d
UW
415 # Target: PowerPC running Linux
416 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
85e747d2 417 solib.o solib-svr4.o solib-spu.o spu-multiarch.o \
1ba3a4f4 418 corelow.o symfile-mem.o linux-tdep.o"
9b624dbe 419 gdb_sim=../sim/ppc/libsim.a
732cd360
UW
420 build_gdbserver=yes
421 ;;
422powerpc*-*-*)
a4ce5b0d
UW
423 # Target: PowerPC running eabi
424 gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
425 dink32-rom.o ppc-sysv-tdep.o solib.o solib-svr4.o"
732cd360 426 if test -f ../sim/ppc/Makefile; then
9b624dbe 427 gdb_sim=../sim/ppc/libsim.a
732cd360
UW
428 fi
429 ;;
430
431s390*-*-*)
a4ce5b0d 432 # Target: S390 running Linux
1ba3a4f4 433 gdb_target_obs="s390-tdep.o solib.o solib-svr4.o linux-tdep.o"
732cd360
UW
434 build_gdbserver=yes
435 ;;
436
baa835b4
KB
437rx-*-elf)
438 # Target: Renesas RX
439 gdb_target_obs="rx-tdep.o"
440 gdb_sim=../sim/rx/libsim.a
441 ;;
442
732cd360 443score-*-*)
a4ce5b0d 444 # Target: S+core embedded system
5f814c3b
DL
445 gdb_target_obs="score-tdep.o corelow.o"
446 if test -f ../sim/score/Makefile; then
447 gdb_sim=../sim/score/libsim.a
448 fi
449 build_gdbserver=yes
732cd360
UW
450 ;;
451
e25c958c 452sh*-*-linux*)
a4ce5b0d
UW
453 # Target: GNU/Linux Super-H
454 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
c9ac0a72 455 dsrec.o solib.o solib-svr4.o symfile-mem.o \
a3217aa0 456 glibc-tdep.o corelow.o linux-tdep.o"
9b624dbe 457 gdb_sim=../sim/sh/libsim.a
732cd360
UW
458 build_gdbserver=yes
459 ;;
69489883 460sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
a4ce5b0d
UW
461 # Target: NetBSD/sh
462 gdb_target_obs="sh-tdep.o shnbsd-tdep.o corelow.o solib.o solib-svr4.o"
9b624dbe 463 gdb_sim=../sim/sh/libsim.a
732cd360
UW
464 ;;
465sh*-*-openbsd*)
a4ce5b0d
UW
466 # Target: OpenBSD/sh
467 gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o \
468 corelow.o solib.o solib-svr4.o"
732cd360
UW
469 ;;
470sh64-*-elf*)
a4ce5b0d
UW
471 # Target: Renesas/Super-H 64 bit with simulator
472 gdb_target_obs="sh-tdep.o sh64-tdep.o"
9b624dbe 473 gdb_sim=../sim/sh64/libsim.a
732cd360
UW
474 ;;
475sh*)
a4ce5b0d
UW
476 # Target: Embedded Renesas Super-H with ICE and simulator
477 gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
9b624dbe 478 gdb_sim=../sim/sh/libsim.a
732cd360
UW
479 ;;
480
481sparc-*-linux*)
a4ce5b0d
UW
482 # Target: GNU/Linux SPARC
483 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
a3217aa0
PA
484 sparc-linux-tdep.o solib.o solib-svr4.o symfile-mem.o \
485 linux-tdep.o"
0ca8834f
JM
486 if test "x$enable_64_bit_bfd" = "xyes"; then
487 # Target: GNU/Linux UltraSPARC
488 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
489 sparc64-linux-tdep.o ${gdb_target_obs}"
490 fi
732cd360
UW
491 ;;
492sparc64-*-linux*)
a4ce5b0d
UW
493 # Target: GNU/Linux UltraSPARC
494 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
495 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
a3217aa0 496 sparc-linux-tdep.o solib.o solib-svr4.o linux-tdep.o"
dfb64f85 497 build_gdbserver=yes
732cd360 498 ;;
fa987fc4 499sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
a4ce5b0d
UW
500 # Target: FreeBSD/sparc64
501 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
502 corelow.o solib.o solib-svr4.o"
fa987fc4 503 ;;
69489883 504sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
a4ce5b0d
UW
505 # Target: NetBSD/sparc
506 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
507 corelow.o solib.o solib-svr4.o"
732cd360 508 ;;
69489883 509sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
a4ce5b0d
UW
510 # Target: NetBSD/sparc64
511 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
512 sparcnbsd-tdep.o nbsd-tdep.o \
513 corelow.o solib.o solib-svr4.o"
732cd360
UW
514 ;;
515sparc-*-openbsd*)
a4ce5b0d
UW
516 # Target: OpenBSD/sparc
517 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
518 nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
519 corelow.o solib.o solib-svr4.o"
732cd360
UW
520 ;;
521sparc64-*-openbsd*)
a4ce5b0d
UW
522 # Target: OpenBSD/sparc64
523 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
524 sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
525 nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
526 corelow.o solib.o solib-svr4.o"
732cd360 527 ;;
386c036b 528sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
a4ce5b0d
UW
529 # Target: Solaris SPARC
530 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
531 solib.o solib-svr4.o"
732cd360 532 ;;
386c036b 533sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
a4ce5b0d
UW
534 # Target: Solaris UltraSPARC
535 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
536 sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o"
732cd360 537 ;;
732cd360 538sparc-*-*)
a4ce5b0d 539 # Target: SPARC
036b1ba8
JB
540 gdb_target_obs="sparc-tdep.o ravenscar-thread.o \
541 ravenscar-sparc-thread.o"
0ac7be25 542 gdb_sim=../sim/erc32/libsim.a
732cd360
UW
543 ;;
544sparc64-*-*)
a4ce5b0d
UW
545 # Target: UltraSPARC
546 gdb_target_obs="sparc-tdep.o sparc64-tdep.o"
732cd360
UW
547 ;;
548
549spu*-*-*)
a4ce5b0d
UW
550 # Target: Cell BE SPU
551 gdb_target_obs="spu-tdep.o"
732cd360
UW
552 build_gdbserver=yes
553 ;;
554
555xstormy16-*-*)
a4ce5b0d
UW
556 # Target: Sanyo Xstormy16a processor
557 gdb_target_obs="xstormy16-tdep.o"
9b624dbe 558 # No simulator libraries are needed -- target uses SID.
732cd360
UW
559 ;;
560
561v850*-*-elf)
a4ce5b0d
UW
562 # Target: NEC V850 processor
563 gdb_target_obs="v850-tdep.o"
9b624dbe 564 gdb_sim=../sim/v850/libsim.a
732cd360 565 ;;
181124bc 566
69489883 567vax-*-netbsd* | vax-*-knetbsd*-gnu)
a4ce5b0d
UW
568 # Target: NetBSD/vax
569 gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o \
570 corelow.o solib.o solib-svr4.o"
732cd360
UW
571 ;;
572vax-*-openbsd*)
a4ce5b0d
UW
573 # Target: OpenBSD/vax
574 gdb_target_obs="vax-tdep.o vaxobsd-tdep.o corelow.o"
732cd360
UW
575 ;;
576vax-*-*)
a4ce5b0d
UW
577 # Target: VAX running 4.2BSD or Ultrix
578 gdb_target_obs="vax-tdep.o"
732cd360
UW
579 ;;
580
5cd226f2
TG
581x86_64-*-darwin*)
582 # Target: Darwin/x86-64
583 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
584 i386-darwin-tdep.o amd64-darwin-tdep.o \
585 solib.o solib-darwin.o"
586 ;;
587
a15c5c83
PA
588x86_64-*-dicos*)
589 # Target: DICOS/x86-64
590 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
4c1d2973 591 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o \
a15c5c83
PA
592 corelow.o solib.o solib-target.o"
593 ;;
732cd360 594x86_64-*-linux*)
a4ce5b0d
UW
595 # Target: GNU/Linux x86-64
596 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
597 i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
b7f6bf22
HZ
598 solib.o solib-svr4.o corelow.o symfile-mem.o linux-tdep.o \
599 linux-record.o"
732cd360
UW
600 build_gdbserver=yes
601 ;;
fa987fc4 602x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
a4ce5b0d
UW
603 # Target: FreeBSD/amd64
604 gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
605 i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
606 bsd-uthread.o corelow.o solib.o solib-svr4.o"
fa987fc4 607 ;;
d0761299
JB
608x86_64-*-mingw*)
609 # Target: MingW/amd64
610 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
611 i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
31b060a2 612 solib-target.o windows-tdep.o"
437125bd 613 build_gdbserver=yes
d0761299 614 ;;
69489883 615x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
a4ce5b0d
UW
616 # Target: NetBSD/amd64
617 gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
618 nbsd-tdep.o corelow.o solib.o solib-svr4.o"
732cd360
UW
619 ;;
620x86_64-*-openbsd*)
a4ce5b0d
UW
621 # Target: OpenBSD/amd64
622 gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
623 i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
624 bsd-uthread.o corelow.o solib.o solib-svr4.o"
732cd360 625 ;;
94a0e877
MG
626xtensa*-*-linux*) gdb_target=linux
627 # Target: GNU/Linux Xtensa
628 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
a3217aa0
PA
629 solib.o solib-svr4.o corelow.o symfile-mem.o \
630 linux-tdep.o"
94a0e877
MG
631 build_gdbserver=yes
632 ;;
732cd360 633xtensa*)
a4ce5b0d 634 # Target: Tensilica Xtensa processors
ee967b5f 635 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib.o solib-svr4.o"
732cd360 636 ;;
ca3bf3bd 637
c906108c 638esac
2acceee2 639
b00a8037
DJ
640# map target onto default OS ABI
641
d0c678e6 642case "${targ}" in
d5ae309f
JB
643*-*-freebsd* | *-*-kfreebsd*-gnu)
644 gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
4e18c053
MF
645*-*-linux* | *-*-uclinux*)
646 gdb_osabi=GDB_OSABI_LINUX ;;
1b883d35 647*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
663408c2 648m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
890c8f4d 649*-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
5b729aa5 650*-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
69489883
NN
651*-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
652*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
fd39ac05
PA
653*-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
654*-*-mingw* | *-*-cygwin*)
655 gdb_osabi=GDB_OSABI_CYGWIN ;;
a15c5c83 656*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
78664fa3
PA
657*-*-symbianelf*)
658 gdb_osabi=GDB_OSABI_SYMBIAN ;;
b00a8037 659esac
This page took 0.740627 seconds and 4 git commands to generate.