Working toward configuring targets.
[deliverable/binutils-gdb.git] / bfd / targets.c
1 /* Copyright (C) 1990, 1991 Free Software Foundation, Inc.
2
3 This file is part of BFD, the Binary File Diddler.
4
5 BFD is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 1, or (at your option)
8 any later version.
9
10 BFD is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with BFD; see the file COPYING. If not, write to
17 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
18
19 /* $Id$ */
20
21
22 /* This -*- C -*- source file will someday be machine-generated */
23
24 /*** Defines the target vector through which operations dispatch */
25 #include "sysdep.h"
26 #include "bfd.h"
27 #include "libbfd.h"
28
29
30 extern bfd_target aout_little_vec;
31 extern bfd_target aout_big_vec;
32 extern bfd_target srec_vec;
33 extern bfd_target b_out_vec_little_host;
34 extern bfd_target b_out_vec_big_host;
35 extern bfd_target icoff_little_vec;
36 extern bfd_target icoff_big_vec;
37 extern bfd_target ieee_vec;
38 extern bfd_target oasys_vec;
39 extern bfd_target m88k_bcs_vec;
40
41 #ifdef GNU960
42 #define ICOFF_LITTLE_VEC icoff_little_vec
43 #define ICOFF_BIG_VEC icoff_big_vec
44 #define B_OUT_VEC_LITTLE_HOST b_out_vec_little_host
45 #define B_OUT_VEC_BIG_HOST b_out_vec_big_host
46 #endif /* GNU960 */
47
48 bfd_target *target_vector[] = {
49
50 #ifdef DEFAULT_VECTOR
51 &DEFAULT_VECTOR,
52 #endif /* DEFAULT_VECTOR */
53
54 #ifdef IEEE_VEC
55 &IEEE_VEC,
56 #endif /* IEEE_VEC */
57
58 #ifdef OASYS_VEC
59 &OASYS_VEC,
60 #endif /* OASYS_VEC */
61
62 #ifdef AOUT_LITTLE_VEC
63 &AOUT_LITTLE_VEC,
64 #endif /* AOUT_LITTLE_VEC */
65
66 #ifdef AOUT_BIG_VEC
67 &AOUT_BIG_VEC,
68 #endif /* AOUT_BIG_VEC */
69
70 #ifdef M88K_BCS_VEC
71 &M88K_BCS_VEC,
72 #endif /* M88K_BCS_VEC */
73
74 #ifdef SREC_VEC
75 &SREC_VEC,
76 #endif /* SREC_VEC */
77
78 #ifdef ICOFF_LITTLE_VEC
79 &ICOFF_LITTLE_VEC,
80 #endif /* ICOFF_LITTLE_VEC */
81
82 #ifdef ICOFF_BIG_VEC
83 &ICOFF_BIG_VEC,
84 #endif /* ICOFF_BIG_VEC */
85
86 #ifdef B_OUT_VEC_LITTLE_HOST
87 &B_OUT_VEC_LITTLE_HOST,
88 #endif /* B_OUT_VEC_LITTLE_HOST */
89
90 #ifdef B_OUT_VEC_BIG_HOST
91 &B_OUT_VEC_BIG_HOST,
92 #endif /* B_OUT_VEC_BIG_HOST */
93
94 NULL, /* end of list marker */
95 };
This page took 0.041893 seconds and 4 git commands to generate.