Subversion Repositories tendra.SVN

Rev

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

Rev Author Line No. Line
6 7u83 1
/*
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
/*
32
    		 Crown Copyright (c) 1997
33
 
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:-
42
 
43
        (1) Its Recipients shall ensure that this Notice is
44
        reproduced upon any copies or amended versions of it;
45
 
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;
49
 
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;
53
 
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
/* linux/config.h */
62
 
63
/**********************************************************************
64
$Author: release $
65
$Date: 1998/03/16 11:25:22 $
66
$Revision: 1.2 $
67
$Log: config.h,v $
68
 * Revision 1.2  1998/03/16  11:25:22  release
69
 * Modifications prior to version 4.1.2.
70
 *
71
 * Revision 1.1.1.1  1998/02/25  12:32:45  release
72
 * Initial version
73
 *
74
 * Revision 1.2  1998/01/28  18:23:26  pwe
75
 * fpcon
76
 *
77
 * Revision 1.1.1.1  1998/01/17  15:55:52  release
78
 * First version to be checked into rolling release.
79
 *
80
 * Revision 1.18  1998/01/11  15:14:56  pwe
81
 * remove NEWDIAGS
82
 *
83
 * Revision 1.17  1997/04/02  10:33:18  pwe
84
 * diagnose pl_tests
85
 *
86
 * Revision 1.16  1996/05/20  14:30:55  pwe
87
 * improved 64-bit handling
88
 *
89
 * Revision 1.15  1996/02/20  14:45:25  pwe
90
 * linux/elf return struct
91
 *
92
 * Revision 1.14  1996/02/16  10:11:06  pwe
93
 * Linux/ELF struct result and PIC jump table
94
 *
95
 * Revision 1.13  1996/02/08  13:45:26  pwe
96
 * Linux elf v aout option
97
 *
98
 * Revision 1.12  1995/12/01  11:54:01  pwe
99
 * solaris proc equality
100
 *
101
 * Revision 1.11  1995/11/23  12:17:06  pwe
102
 * linux elf
103
 *
104
 * Revision 1.10  1995/10/09  15:14:23  pwe
105
 * dynamic initialisation etc
106
 *
107
 * Revision 1.9  1995/09/29  16:18:04  pwe
108
 * gcc_compatible default on Linux
109
 *
110
 * Revision 1.8  1995/09/20  12:00:35  pwe
111
 * svr4 and solaris initial_value, and solaris 64 bit correction
112
 *
113
 * Revision 1.7  1995/09/19  15:43:00  pwe
114
 * round, fp overflow etc
115
 *
116
 * Revision 1.6  1995/09/05  16:25:26  pwe
117
 * specials and exception changes
118
 *
119
 * Revision 1.5  1995/08/30  16:07:10  pwe
120
 * prepare exception trapping
121
 *
122
 * Revision 1.4  1995/07/07  15:22:24  pwe
123
 * prepare for 4.0, and correct PIC switch
124
 *
125
 * Revision 1.3  1995/01/30  14:43:47  pwe
126
 * defined value_of_null for CR95_032
127
 *
128
 * Revision 1.2  1995/01/30  12:57:11  pwe
129
 * Ownership -> PWE, tidy banners
130
 *
131
 * Revision 1.1  1994/11/08  16:28:00  jmf
132
 * Initial revision
133
 *
134
 * Revision 1.3  1994/08/04  13:37:04  jmf
135
 * Added condassign_tag
136
 *
137
 * Revision 1.2  1994/07/13  07:51:05  jmf
138
 * Added Log
139
 *
140
**********************************************************************/
141
 
142
#ifndef config_key
143
#define config_key 1
144
 
145
 
146
/* API SPECIFICATION */
147
#include "ossg_api.h"
148
#include "ossg.h"
149
 
150
#ifndef FS_LITTLE_ENDIAN
151
#define FS_LITTLE_ENDIAN	1
152
#endif
153
 
154
 
155
#define isvax 0
156
#define ismips 0
157
#define is68000 0
158
#define is80x86 1
159
#define ispower 0
160
#define issparc 0
161
#define istrans 0
162
#define ishppa 0
163
#define isAlpha 0
164
 
165
#define issco 0
166
#define issol86 0
167
#define islinux 1
168
#define remove_struct_ref 1
169
 
170
#define has_setcc 1
171
#define little_end 1
172
#define has_byte_regs 1
173
#define has_byte_ops 1
174
#define only_lengthen_ops 1
175
#define has_neg_shift 0
176
#define regable_union 0
177
#define substitute_params 1
178
#define special_fns 1
179
#define shift_is_byte 1
180
#define only_inline_static 0
181
#define remove_zero_offsets 1
182
#define replace_compound 1
183
#define no_bitfield_ops 1
184
#define dont_unpad_apply 0
185
#define diagnose_registers 1
186
#define DWARF 0
187
#define load_ptr_pars 1
188
#define use_long_double 1
189
#define has64bits 1
190
#define keep_PIC_vars 0
191
#define div0_implemented 1
192
#define do_case_transforms 1
193
#define substitute_complex 1
194
#define has_rotate 1
195
#define GCC_STRUCTS 0
196
 
197
 
198
#define maxmin_implemented 1
199
#define condassign_implemented 0
200
 
201
#define target_dbl_maxexp 4932
202
 
203
#define check_shape 1
204
#define value_of_null 0
205
#define no_trap_on_nil_contents 1
206
 
207
extern int linux_elf;  /* machine.c */
208
#define prefix_length 1	/* strlen(name_prefix) */
209
#define AVOID_INTOV 0	/* No software interrupts */
210
#define normal_fpucon 0x37f
211
 
212
 
213
/* Parameters for foralls optimisations */
214
 
215
#define remove_unused_counters 0
216
#define remove_unused_index_counters 0
217
#define good_index_factor(f)	0
218
#define good_pointer_factor(f)	((f) != 1 && (f) != 2 && (f) != 4 && (f) != 8)
219
 
220
/* Parameters for TDF->TDF case_optimisation */
221
 
222
#define jump_table_density 10        /* between 0 and 100 */
223
 
224
/* jump_table density is the percentage of entries which must be filled
225
 * in a jump table in order for it to be created
226
 * So 0 would try to make everything into a jump table whereas 100
227
 * would mean only full jump tables could be put out
228
 */
229
 
230
#define non_default_entries 4      /* a positive integer */
231
 
232
/* non_default_entries is the minimum number of non default entries a
233
 * jump table can contain
234
 */
235
 
236
#define non_default_destinations 2  /* a positive integer */
237
 
238
/* non_default_destinations is the minimum number of non default destinations
239
 * a jump table can contain
240
 */
241
 
242
 
243
 
244
#define temp_mips 0
245
 
246
#endif