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