* Makefile.in (ALL_64_TARGET_OBS): Add amd64-dicos-tdep.o.
[external/binutils.git] / gdb / configure.tgt
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:
5 #  gdb_target_obs       target-specific object files to use
6 #  gdb_sim              simulator library for target
7 #  gdb_osabi            default OS ABI to use with target
8 #  build_gdbserver      set to "yes" if gdbserver supports target
9
10 case $targ in
11  d10v-*-* | \
12  hppa*-*-hiux* | \
13  i[34567]86-ncr-* | \
14  i[34567]86-*-lynxos* | \
15  m68*-cisco*-* | \
16  m68*-tandem-* | \
17  m68*-*-os68k* | \
18  mips*-*-pe | \
19  rs6000-*-lynxos* | \
20  sh*-*-pe | \
21  null)
22     echo "*** Configuration $targ is obsolete." >&2
23     echo "*** Support has been REMOVED." >&2
24     exit 1
25     ;;
26 esac
27
28 # map target info into gdb names.
29
30 case "${targ}" in
31
32 alpha*-*-osf*)
33         # Target: Little-endian Alpha running OSF/1
34         gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o"
35         ;;
36 alpha*-*-linux*)
37         # Target: Little-endian Alpha running Linux
38         gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
39                         solib.o solib-svr4.o"
40         ;;
41 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
42         # Target: FreeBSD/alpha
43         gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
44                         alphafbsd-tdep.o corelow.o solib.o solib-svr4.o"
45         ;;
46 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
47         # Target: NetBSD/alpha
48         gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
49                         alphanbsd-tdep.o nbsd-tdep.o corelow.o solib.o \
50                         solib-svr4.o"
51         ;;
52 alpha*-*-openbsd*)
53         # Target: OpenBSD/alpha
54         gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
55                         alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
56                         obsd-tdep.o corelow.o solib.o solib-svr4.o"
57         ;;
58 alpha*-*-*)
59         # Target: Alpha
60         gdb_target_obs="alpha-tdep.o"
61         ;;
62
63 am33_2.0*-*-linux*)
64         # Target: Matsushita mn10300 (AM33) running Linux
65         gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o corelow.o \
66                         solib.o solib-svr4.o"
67         ;;
68
69 arm*-wince-pe | arm*-*-mingw32ce*)
70         # Target: ARM based machine running Windows CE (win32)
71         gdb_target_obs="arm-tdep.o arm-wince-tdep.o corelow.o \
72                         solib.o solib-target.o"
73         build_gdbserver=yes
74         ;;
75 arm*-*-linux*)
76         # Target: ARM based machine running GNU/Linux
77         gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
78                         solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o"
79         build_gdbserver=yes
80         ;;
81 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
82         # Target: NetBSD/arm
83         gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o"
84         ;;
85 arm*-*-openbsd*)
86         # Target: OpenBSD/arm
87         gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
88                         corelow.o solib.o solib-svr4.o"
89         ;;
90 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
91         # Target: ARM embedded system
92         gdb_target_obs="arm-tdep.o"
93         gdb_sim=../sim/arm/libsim.a
94         ;;
95
96 avr-*-*)
97         # Target: AVR
98         gdb_target_obs="avr-tdep.o"
99         # There is no simulator provided with gdb (yet).
100         # See <http://savannah.gnu.org/projects/simulavr/>
101         # for the simulator used during development of avr
102         # support for gdb.
103         ;;
104
105 cris*)
106         # Target: CRIS
107         gdb_target_obs="cris-tdep.o corelow.o solib.o solib-svr4.o"
108         ;;
109
110 frv-*-*)
111         # Target: Fujitsu FRV processor
112         gdb_target_obs="frv-tdep.o frv-linux-tdep.o \
113                         solib.o solib-frv.o corelow.o"
114         gdb_sim=../sim/frv/libsim.a
115         ;;
116
117 h8300-*-*)
118         # Target: H8300 with HMS monitor and H8 simulator
119         gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
120         gdb_sim=../sim/h8300/libsim.a
121         ;;
122
123 hppa*-*-hpux*)
124         # Target: HP PA-RISC running hpux
125         gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o corelow.o \
126                         solib.o solib-som.o solib-pa64.o"
127         ;;
128 hppa*-*-linux*)
129         # Target: HP PA-RISC running Linux
130         gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
131                         solib.o solib-svr4.o symfile-mem.o"
132         ;;
133 hppa*-*-netbsd*)
134         # Target: NetBSD/hppa
135         gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o \
136                         corelow.o solib.o solib-svr4.o"
137         ;;
138 hppa*-*-openbsd*)
139         # Target: OpenBSD/hppa
140         gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o \
141                         corelow.o solib.o solib-svr4.o"
142         ;;
143 hppa*-*-*)
144         # Target: HP PA-RISC
145         gdb_target_obs="hppa-tdep.o"
146         ;;
147
148 i[34567]86-*-darwin*)
149         # Target: Darwin/i386
150         gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
151                         i386-darwin-tdep.o solib.o solib-darwin.o"
152         ;;
153 i[34567]86-*-dicos*)
154         # Target: DICOS/i386
155         gdb_target_obs="i386-tdep.o i387-tdep.o \
156                         dicos-tdep.o i386-dicos-tdep.o \
157                         corelow.o solib.o solib-target.o"
158         ;;
159 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
160         # Target: FreeBSD/i386
161         gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
162                         bsd-uthread.o corelow.o solib.o solib-svr4.o"
163         ;;
164 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
165         # Target: NetBSD/i386
166         gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
167                         nbsd-tdep.o corelow.o solib.o solib-svr4.o"
168         ;;
169 i[34567]86-*-openbsd*)
170         # Target: OpenBSD/i386
171         gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
172                         bsd-uthread.o corelow.o solib.o solib-svr4.o"
173         ;;
174 i[34567]86-*-nto*)
175         # Target: Intel 386 running qnx6.
176         gdb_target_obs="i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \
177                         i386-nto-tdep.o nto-tdep.o"
178         ;;
179 i[34567]86-*-solaris2.1[0-9]*)
180         # Target: Solaris x86_64
181         gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
182                         i386-sol2-tdep.o sol2-tdep.o \
183                         corelow.o solib.o solib-svr4.o"
184         ;;
185 i[34567]86-*-solaris*)
186         # Target: Solaris x86
187         gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
188                         corelow.o solib.o solib-svr4.o"
189         ;;
190 i[34567]86-*-linux*)
191         # Target: Intel 386 running GNU/Linux
192         gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
193                         solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o"
194         build_gdbserver=yes
195         ;;
196 i[34567]86-*-gnu*)
197         # Target: Intel 386 running the GNU Hurd
198         gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o \
199                         solib.o solib-svr4.o"
200         ;;
201 i[34567]86-*-cygwin*)
202         # Target: Intel 386 running win32
203         gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
204                         solib-target.o corelow.o windows-tdep.o"
205         build_gdbserver=yes
206         ;;
207 i[34567]86-*-mingw32*)
208         # Target: Intel 386 running win32
209         gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
210                         solib-target.o corelow.o windows-tdep.o"
211         build_gdbserver=yes
212         ;;
213 i[34567]86-*-*)
214         # Target: i386
215         gdb_target_obs="i386-tdep.o i387-tdep.o"
216         ;;
217
218 ia64-*-linux*)
219         # Target: Intel IA-64 running GNU/Linux
220         gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o \
221                         solib.o solib-svr4.o symfile-mem.o"
222         build_gdbserver=yes
223         ;;
224 ia64*-*-*)
225         # Target: Intel IA-64
226         gdb_target_obs="ia64-tdep.o"
227         ;;
228
229 iq2000-*-*)
230         gdb_target_obs="iq2000-tdep.o"
231         gdb_sim=../sim/iq2000/libsim.a
232         ;;
233
234 m32c-*-*)
235         # Target: Renesas M32C family
236         gdb_target_obs="m32c-tdep.o prologue-value.o"
237         # There may also be a SID / CGEN simulator for this,
238         # but we do have DJ Delorie's mini-sim.
239         gdb_sim=../sim/m32c/libsim.a
240         ;;
241
242 m32r*-*-linux*)
243         # Target: Renesas M32R running GNU/Linux
244         gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
245                         glibc-tdep.o solib.o solib-svr4.o symfile-mem.o"
246         gdb_sim=../sim/m32r/libsim.a
247         build_gdbserver=yes
248         ;;
249 m32r*-*-*)
250         # Target: Renesas m32r processor
251         gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
252                         remote-m32r-sdi.o"
253         gdb_sim=../sim/m32r/libsim.a
254         ;;
255
256 m68hc11*-*-*|m6811*-*-*)
257         # Target: Motorola 68HC11 processor
258         gdb_target_obs="m68hc11-tdep.o"
259         gdb_sim=../sim/m68hc11/libsim.a
260         ;;
261
262 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
263 fido-*-elf*)
264         # Target: Motorola m68k embedded (e.g. bug monitors)
265         gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
266         ;;
267 m68*-*-linux*)
268         # Target: Motorola m68k with a.out and ELF
269         gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o \
270                         glibc-tdep.o symfile-mem.o"
271         build_gdbserver=yes
272         ;;
273 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
274         # Target: NetBSD/m68k
275         gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
276                         corelow.o solib.o solib-svr4.o"
277         ;;
278 m68*-*-openbsd*)
279         # Target: OpenBSD/m68k
280         gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
281                         corelow.o solib.o solib-svr4.o"
282         ;;
283
284 m88*-*-openbsd*)
285         # Target: OpenBSD/m88k
286         gdb_target_obs="m88k-tdep.o corelow.o"
287         ;;
288
289 mep-*-*)
290         # Target: Toshiba Media Processor (MEP)
291         gdb_target_obs="mep-tdep.o prologue-value.o"
292         # No sim needed. Target uses SID.
293         ;;
294
295 mips*-sgi-irix5*)
296         # Target: MIPS SGI running Irix 5
297         gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
298         ;;
299 mips*-sgi-irix6*)
300         # Target: MIPS SGI running Irix 6.x
301         gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
302         ;;
303 mips*-*-linux*)
304         # Target: Linux/MIPS
305         gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
306                         corelow.o solib.o solib-svr4.o symfile-mem.o"
307         gdb_sim=../sim/mips/libsim.a
308         build_gdbserver=yes
309         ;;
310 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
311         # Target: MIPS running NetBSD
312         gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o \
313                         corelow.o solib.o solib-svr4.o nbsd-tdep.o"
314         gdb_sim=../sim/mips/libsim.a
315         ;;
316 mips64*-*-openbsd*)
317         # Target: OpenBSD/mips64
318         gdb_target_obs="mips-tdep.o mips64obsd-tdep.o \
319                         corelow.o solib.o solib-svr4.o"
320         ;;
321 mips*-*-*)
322         # Target: MIPS
323         gdb_target_obs="mips-tdep.o"
324         gdb_sim=../sim/mips/libsim.a
325         ;;
326
327 mn10300-*-*)
328         # Target: Matsushita mn10300
329         gdb_target_obs="mn10300-tdep.o"
330         gdb_sim=../sim/mn10300/libsim.a
331         ;;
332
333 mt-*-*)
334         # Target: Morpho Technologies ms1 processor
335         gdb_target_obs="mt-tdep.o"
336         ;;
337
338 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
339         # Target: NetBSD/powerpc
340         gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
341                         corelow.o solib.o solib-svr4.o"
342         gdb_sim=../sim/ppc/libsim.a
343         ;;
344 powerpc-*-openbsd*)
345         # Target: OpenBSD/powerpc
346         gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
347                         corelow.o solib.o solib-svr4.o"
348         ;;
349 powerpc-*-aix* | rs6000-*-*)
350         # Target: PowerPC running AIX
351         gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
352                         ppc-sysv-tdep.o solib.o solib-svr4.o"
353         ;;
354 powerpc-*-linux* | powerpc64-*-linux*)
355         # Target: PowerPC running Linux
356         gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
357                         solib.o solib-svr4.o corelow.o symfile-mem.o"
358         gdb_sim=../sim/ppc/libsim.a
359         build_gdbserver=yes
360         ;;
361 powerpc*-*-*)
362         # Target: PowerPC running eabi
363         gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
364                         dink32-rom.o ppc-sysv-tdep.o solib.o solib-svr4.o"
365         if test -f ../sim/ppc/Makefile; then
366           gdb_sim=../sim/ppc/libsim.a
367         fi
368         ;;
369
370 s390*-*-*)
371         # Target: S390 running Linux
372         gdb_target_obs="s390-tdep.o solib.o solib-svr4.o"
373         build_gdbserver=yes
374         ;;
375
376 score-*-*)
377         # Target: S+core embedded system
378         gdb_target_obs="score-tdep.o"
379         ;;
380
381 sh*-*-linux*)
382         # Target: GNU/Linux Super-H
383         gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
384                         dsrec.o solib.o solib-svr4.o symfile-mem.o glibc-tdep.o"
385         gdb_sim=../sim/sh/libsim.a
386         build_gdbserver=yes
387         ;;
388 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
389         # Target: NetBSD/sh
390         gdb_target_obs="sh-tdep.o shnbsd-tdep.o corelow.o solib.o solib-svr4.o"
391         gdb_sim=../sim/sh/libsim.a
392         ;;
393 sh*-*-openbsd*)
394         # Target: OpenBSD/sh
395         gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o \
396                         corelow.o solib.o solib-svr4.o"
397         ;;
398 sh64-*-elf*)
399         # Target: Renesas/Super-H 64 bit with simulator
400         gdb_target_obs="sh-tdep.o sh64-tdep.o"
401         gdb_sim=../sim/sh64/libsim.a
402         ;;
403 sh*)
404         # Target: Embedded Renesas Super-H with ICE and simulator
405         gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
406         gdb_sim=../sim/sh/libsim.a
407         ;;
408
409 sparc-*-linux*)
410         # Target: GNU/Linux SPARC
411         gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
412                         sparc-linux-tdep.o solib.o solib-svr4.o symfile-mem.o"
413         ;;
414 sparc64-*-linux*)
415         # Target: GNU/Linux UltraSPARC
416         gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
417                         sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
418                         sparc-linux-tdep.o solib.o solib-svr4.o"
419         build_gdbserver=yes
420         ;;
421 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
422         # Target: FreeBSD/sparc64
423         gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
424                         corelow.o solib.o solib-svr4.o"
425         ;;
426 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
427         # Target: NetBSD/sparc
428         gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
429                         corelow.o solib.o solib-svr4.o"
430         ;;
431 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
432         # Target: NetBSD/sparc64
433         gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
434                         sparcnbsd-tdep.o nbsd-tdep.o \
435                         corelow.o solib.o solib-svr4.o"
436         ;;
437 sparc-*-openbsd*)
438         # Target: OpenBSD/sparc
439         gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
440                         nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
441                         corelow.o solib.o solib-svr4.o"
442         ;;
443 sparc64-*-openbsd*)
444         # Target: OpenBSD/sparc64
445         gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
446                         sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
447                         nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
448                         corelow.o solib.o solib-svr4.o"
449         ;;
450 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
451         # Target: Solaris SPARC
452         gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
453                         solib.o solib-svr4.o"
454         ;;
455 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
456         # Target: Solaris UltraSPARC
457         gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
458                         sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o"
459         ;;
460 sparc-*-rtems*)
461         # Target: SPARC embedded with simulator
462         gdb_target_obs="sparc-tdep.o"
463         gdb_sim=../sim/erc32/libsim.a
464         ;;
465 sparc-*-*)
466         # Target: SPARC
467         gdb_target_obs="sparc-tdep.o"
468         ;;
469 sparc64-*-*)
470         # Target: UltraSPARC
471         gdb_target_obs="sparc-tdep.o sparc64-tdep.o"
472         ;;
473
474 spu*-*-*)
475         # Target: Cell BE SPU
476         gdb_target_obs="spu-tdep.o"
477         build_gdbserver=yes
478         ;;
479
480 xstormy16-*-*)
481         # Target: Sanyo Xstormy16a processor
482         gdb_target_obs="xstormy16-tdep.o"
483         # No simulator libraries are needed -- target uses SID.
484         ;;
485
486 v850*-*-elf)
487         # Target: NEC V850 processor
488         gdb_target_obs="v850-tdep.o"
489         gdb_sim=../sim/v850/libsim.a
490         ;;
491
492 vax-*-netbsd* | vax-*-knetbsd*-gnu)
493         # Target: NetBSD/vax
494         gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o \
495                         corelow.o solib.o solib-svr4.o"
496         ;;
497 vax-*-openbsd*)
498         # Target: OpenBSD/vax
499         gdb_target_obs="vax-tdep.o vaxobsd-tdep.o corelow.o"
500         ;;
501 vax-*-*)
502         # Target: VAX running 4.2BSD or Ultrix
503         gdb_target_obs="vax-tdep.o"
504         ;;
505
506 x86_64-*-dicos*)
507         # Target: DICOS/x86-64
508         gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
509                         dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o \
510                         corelow.o solib.o solib-target.o"
511         ;;
512 x86_64-*-linux*)
513         # Target: GNU/Linux x86-64
514         gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
515                         i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
516                         solib.o solib-svr4.o corelow.o symfile-mem.o linux-tdep.o"
517         build_gdbserver=yes
518         ;;
519 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
520         # Target: FreeBSD/amd64
521         gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
522                         i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
523                         bsd-uthread.o corelow.o solib.o solib-svr4.o"
524         ;;
525 x86_64-*-mingw*)
526         # Target: MingW/amd64
527         gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
528                         i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
529                         solib-target.o windows-tdep.o"
530         ;;
531 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
532         # Target: NetBSD/amd64
533         gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
534                         nbsd-tdep.o corelow.o solib.o solib-svr4.o"
535         ;;
536 x86_64-*-openbsd*)
537         # Target: OpenBSD/amd64
538         gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
539                         i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
540                         bsd-uthread.o corelow.o solib.o solib-svr4.o"
541         ;;
542 xtensa*-*-linux*)       gdb_target=linux
543         # Target: GNU/Linux Xtensa
544         gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
545                         solib.o solib-svr4.o corelow.o symfile-mem.o"
546         build_gdbserver=yes
547         ;;
548 xtensa*)
549         # Target: Tensilica Xtensa processors
550         gdb_target_obs="xtensa-tdep.o xtensa-config.o solib.o solib-svr4.o"
551         ;;
552
553 esac
554
555 # map target onto default OS ABI
556
557 case "${targ}" in
558 *-*-freebsd*)   gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
559 *-*-linux*)     gdb_osabi=GDB_OSABI_LINUX ;;
560 *-*-nto*)       gdb_osabi=GDB_OSABI_QNXNTO ;;
561 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
562 *-*-openbsd*)   gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
563 *-*-solaris*)   gdb_osabi=GDB_OSABI_SOLARIS ;;
564 *-*-*-gnu*)     ;; # prevent non-GNU kernels to match the Hurd rule below
565 *-*-gnu*)       gdb_osabi=GDB_OSABI_HURD ;;
566 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
567 *-*-mingw* | *-*-cygwin*)
568                 gdb_osabi=GDB_OSABI_CYGWIN ;;
569 *-*-dicos*)     gdb_osabi=GDB_OSABI_DICOS ;;
570 esac