*** empty log message ***
[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 extern bfd_target ecoff_little_vec;
30 extern bfd_target ecoff_big_vec;
31 extern bfd_target sunos_big_vec;
32 extern bfd_target demo_64_vec;
33 extern bfd_target srec_vec;
34 extern bfd_target b_out_vec_little_host;
35 extern bfd_target b_out_vec_big_host;
36 extern bfd_target icoff_little_vec;
37 extern bfd_target icoff_big_vec;
38 extern bfd_target ieee_vec;
39 extern bfd_target oasys_vec;
40 extern bfd_target m88k_bcs_vec;
41 extern bfd_target m68kcoff_vec;
42
43 #ifdef GNU960
44 #define ICOFF_LITTLE_VEC icoff_little_vec
45 #define ICOFF_BIG_VEC icoff_big_vec
46 #define B_OUT_VEC_LITTLE_HOST b_out_vec_little_host
47 #define B_OUT_VEC_BIG_HOST b_out_vec_big_host
48 #endif /* GNU960 */
49
50 #ifndef RESTRICTED
51 #define ECOFF_LITTLE_VEC ecoff_little_vec
52 #define ECOFF_BIG_VEC ecoff_big_vec
53 #define ICOFF_LITTLE_VEC icoff_little_vec
54 #define ICOFF_BIG_VEC icoff_big_vec
55 #define XB_OUT_VEC_LITTLE_HOST b_out_vec_little_host
56 #define XB_OUT_VEC_BIG_HOST b_out_vec_big_host
57 #define SUNOS_VEC_BIG_HOST sunos_big_vec
58 #define DEMO_64_VEC demo_64_vec
59 #define OASYS_VEC oasys_vec
60 #define IEEE_VEC ieee_vec
61 #define M88K_BCS_VEC m88k_bcs_vec
62 #define SREC_VEC srec_vec
63 #define M68KCOFF_VEC m68kcoff_vec
64 #endif
65 bfd_target *target_vector[] = {
66
67 #ifdef DEFAULT_VECTOR
68 &DEFAULT_VECTOR,
69 #endif /* DEFAULT_VECTOR */
70
71 #ifdef ECOFF_LITTLE_VEC
72 &ECOFF_LITTLE_VEC,
73 #endif
74
75 #ifdef ECOFF_BIG_VEC
76 &ECOFF_BIG_VEC,
77 #endif
78 #ifdef M68KCOFF_VEC
79 &M68KCOFF_VEC,
80 #endif
81 #ifdef IEEE_VEC
82 &IEEE_VEC,
83 #endif /* IEEE_VEC */
84
85 #ifdef OASYS_VEC
86 &OASYS_VEC,
87 #endif /* OASYS_VEC */
88
89 #ifdef SUNOS_VEC_BIG_HOST
90 &SUNOS_VEC_BIG_HOST,
91 #endif /* SUNOS_BIG_VEC */
92
93
94 #ifdef HOST_64_BIT
95 #ifdef DEMO_64_VEC
96 &DEMO_64_VEC,
97 #endif
98 #endif
99
100 #ifdef M88K_BCS_VEC
101 &M88K_BCS_VEC,
102 #endif /* M88K_BCS_VEC */
103
104 #ifdef SREC_VEC
105 &SREC_VEC,
106 #endif /* SREC_VEC */
107
108 #ifdef ICOFF_LITTLE_VEC
109 &ICOFF_LITTLE_VEC,
110 #endif /* ICOFF_LITTLE_VEC */
111
112 #ifdef ICOFF_BIG_VEC
113 &ICOFF_BIG_VEC,
114 #endif /* ICOFF_BIG_VEC */
115
116 #ifdef B_OUT_VEC_LITTLE_HOST
117 &B_OUT_VEC_LITTLE_HOST,
118 #endif /* B_OUT_VEC_LITTLE_HOST */
119
120 #ifdef B_OUT_VEC_BIG_HOST
121 &B_OUT_VEC_BIG_HOST,
122 #endif /* B_OUT_VEC_BIG_HOST */
123
124 NULL, /* end of list marker */
125 };
This page took 0.030936 seconds and 4 git commands to generate.