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