Subversion Repositories tendra.SVN

Rev

Rev 5 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
6 7u83 2
 * Copyright (c) 2002-2005 The TenDRA Project <http://www.tendra.org/>.
3
 * All rights reserved.
4
 *
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions are met:
7
 *
8
 * 1. Redistributions of source code must retain the above copyright notice,
9
 *    this list of conditions and the following disclaimer.
10
 * 2. Redistributions in binary form must reproduce the above copyright notice,
11
 *    this list of conditions and the following disclaimer in the documentation
12
 *    and/or other materials provided with the distribution.
13
 * 3. Neither the name of The TenDRA Project nor the names of its contributors
14
 *    may be used to endorse or promote products derived from this software
15
 *    without specific, prior written permission.
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
18
 * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
21
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22
 * EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
 *
29
 * $Id$
30
 */
31
/*
2 7u83 32
    		 Crown Copyright (c) 1997
6 7u83 33
 
2 7u83 34
    This TenDRA(r) Computer Program is subject to Copyright
35
    owned by the United Kingdom Secretary of State for Defence
36
    acting through the Defence Evaluation and Research Agency
37
    (DERA).  It is made available to Recipients with a
38
    royalty-free licence for its use, reproduction, transfer
39
    to other parties and amendment for any purpose not excluding
40
    product development provided that any such use et cetera
41
    shall be deemed to be acceptance of the following conditions:-
6 7u83 42
 
2 7u83 43
        (1) Its Recipients shall ensure that this Notice is
44
        reproduced upon any copies or amended versions of it;
6 7u83 45
 
2 7u83 46
        (2) Any amended version of it shall be clearly marked to
47
        show both the nature of and the organisation responsible
48
        for the relevant amendment or amendments;
6 7u83 49
 
2 7u83 50
        (3) Its onward transfer from a recipient to another
51
        party shall be deemed to be that party's acceptance of
52
        these conditions;
6 7u83 53
 
2 7u83 54
        (4) DERA gives no warranty or assurance as to its
55
        quality or suitability for any purpose and DERA accepts
56
        no liability whatsoever in relation to any use to which
57
        it may be put.
58
*/
59
 
60
 
61
/* sol86/config.h */
62
 
63
/**********************************************************************
64
$Author: release $
65
$Date: 1998/03/16 11:25:27 $
66
$Revision: 1.2 $
67
$Log: config.h,v $
68
 * Revision 1.2  1998/03/16  11:25:27  release
69
 * Modifications prior to version 4.1.2.
70
 *
71
 * Revision 1.1.1.1  1998/01/17  15:55:52  release
72
 * First version to be checked into rolling release.
73
 *
74
 * Revision 1.25  1997/10/10  18:25:59  pwe
75
 * prep ANDF-DE revision
76
 *
77
 * Revision 1.24  1997/04/02  10:33:37  pwe
78
 * diagnose pl_tests
79
 *
80
 * Revision 1.23  1997/03/20  16:24:30  pwe
81
 * dwarf2
82
 *
83
 * Revision 1.22  1996/05/20  14:31:07  pwe
84
 * improved 64-bit handling
85
 *
86
 * Revision 1.21  1996/02/20  14:45:38  pwe
87
 * linux/elf return struct
88
 *
89
 * Revision 1.20  1996/02/08  13:45:44  pwe
90
 * Linux elf v aout option
91
 *
92
 * Revision 1.19  1996/01/04  09:54:41  pwe
93
 * solaris remove no_trap_on_nil_contents
94
 *
95
 * Revision 1.18  1995/12/18  16:18:29  pwe
96
 * solaris traps on nil OK
97
 *
98
 * Revision 1.17  1995/12/01  11:54:27  pwe
99
 * solaris proc equality
100
 *
101
 * Revision 1.16  1995/10/09  15:14:43  pwe
102
 * dynamic initialisation etc
103
 *
104
 * Revision 1.15  1995/09/29  16:18:20  pwe
105
 * gcc_compatible default on Linux
106
 *
107
 * Revision 1.14  1995/09/20  12:00:44  pwe
108
 * svr4 and solaris initial_value, and solaris 64 bit correction
109
 *
110
 * Revision 1.13  1995/09/19  15:43:15  pwe
111
 * round, fp overflow etc
112
 *
113
 * Revision 1.12  1995/09/05  16:25:36  pwe
114
 * specials and exception changes
115
 *
116
 * Revision 1.11  1995/08/30  16:07:19  pwe
117
 * prepare exception trapping
118
 *
119
 * Revision 1.10  1995/07/07  15:22:35  pwe
120
 * prepare for 4.0, and correct PIC switch
121
 *
122
 * Revision 1.9  1995/01/30  14:43:55  pwe
123
 * defined value_of_null for CR95_032
124
 *
125
 * Revision 1.8  1995/01/30  12:57:34  pwe
126
 * Ownership -> PWE, tidy banners
127
 *
128
 * Revision 1.7  1994/11/08  16:26:19  jmf
129
 * Added substitute_complex
130
 *
131
 * Revision 1.6  1994/10/27  14:12:30  jmf
132
 * set DWARF 0
133
 *
134
 * Revision 1.5  1994/09/27  16:17:36  jmf
135
 * added case parameters
136
 *
137
 * Revision 1.4  1994/09/27  15:19:48  jmf
138
 * added do_case_transforms
139
 *
140
 * Revision 1.3  1994/08/04  13:40:23  jmf
141
 * Added condassign_implemented
142
 *
143
 * Revision 1.2  1994/07/13  07:48:18  jmf
144
 * Added Log
145
 *
146
**********************************************************************/
147
 
148
#ifndef config_key
149
#define config_key 1
150
 
151
 
152
/* API SPECIFICATION */
153
#include "ossg_api.h"
154
#include "ossg.h"
155
 
156
#ifndef FS_LITTLE_ENDIAN
157
#define FS_LITTLE_ENDIAN	1
158
#endif
159
 
160
#define NEWDIAGS 1
161
#define NEWDWARF 1
162
#define SHARED_ABBREV 1
163
#define has_asm 1
164
#define as_comment_symbol '/'
165
 
166
#define isvax 0
167
#define ismips 0
168
#define is68000 0
169
#define is80x86 1
170
#define ispower 0
171
#define issparc 0
172
#define istrans 0
173
#define ishppa 0
174
#define isAlpha 0
175
 
176
#define issco 0
177
#define issol86 1
178
#define islinux 0
179
#define isfreebsd 0
180
#define remove_struct_ref 1
181
 
182
#define has_setcc 1
183
#define little_end 1
184
#define has_byte_regs 1
185
#define has_byte_ops 1
186
#define only_lengthen_ops 1
187
#define has_neg_shift 0
188
#define regable_union 0
189
#define substitute_params 1
190
#define special_fns 1
191
#define shift_is_byte 1
192
#define only_inline_static 0
193
#define remove_zero_offsets 1
194
#define replace_compound 1
195
#define no_bitfield_ops 1
196
#define dont_unpad_apply 0
197
#define diagnose_registers 1
198
#define DWARF 0
199
#define load_ptr_pars 1
200
#define use_long_double 1
201
#define has64bits 1
202
#define keep_PIC_vars 0
203
#define maxmin_implemented 1
204
#define target_dbl_maxexp 4932
205
#define div0_implemented 1
206
#define do_case_transforms 1
207
#define substitute_complex 1
208
#define has_rotate 1
209
#define GCC_STRUCTS 0
210
 
211
#define condassign_implemented 0
212
#define check_shape 1
213
#define value_of_null 0
214
 
215
#define prefix_length 0	/* strlen(name_prefix) */
216
#define normal_fpucon 0x37f
217
 
218
#define remove_unused_counters 0
219
#define remove_unused_index_counters 0
6 7u83 220
#define good_index_factor(f)	0
221
#define good_pointer_factor(f)	((f)!= 1 && (f)!= 2 && (f)!= 4 && (f)!= 8)
2 7u83 222
 
223
/* Parameters for TDF->TDF case_optimisation */
224
 
225
#define jump_table_density 10        /* between 0 and 100 */
226
 
6 7u83 227
/* jump_table density is the percentage of entries which must be filled
2 7u83 228
 * in a jump table in order for it to be created
229
 * So 0 would try to make everything into a jump table whereas 100
230
 * would mean only full jump tables could be put out
231
 */
232
 
233
#define non_default_entries 4      /* a positive integer */
234
 
235
/* non_default_entries is the minimum number of non default entries a
236
 * jump table can contain
237
 */
238
 
239
#define non_default_destinations 2  /* a positive integer */
240
 
241
/* non_default_destinations is the minimum number of non default destinations
242
 * a jump table can contain
243
 */
244
 
245
 
246
#define temp_mips 0
247
 
248
#endif