Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
 
30
 
31
/* sco/config.h */
32
 
33
/**********************************************************************
34
$Author: release $
35
$Date: 1998/03/16 11:25:25 $
36
$Revision: 1.2 $
37
$Log: config.h,v $
38
 * Revision 1.2  1998/03/16  11:25:25  release
39
 * Modifications prior to version 4.1.2.
40
 *
41
 * Revision 1.1.1.1  1998/01/17  15:55:51  release
42
 * First version to be checked into rolling release.
43
 *
44
 * Revision 1.24  1998/01/11  15:15:04  pwe
45
 * remove NEWDIAGS
46
 *
47
 * Revision 1.23  1997/04/04  15:15:09  pwe
48
 * attempt revert sco no diagnose registers
49
 *
50
 * Revision 1.22  1997/04/02  10:33:27  pwe
51
 * diagnose pl_tests
52
 *
53
 * Revision 1.21  1996/08/13  13:59:15  pwe
54
 * sco int16 corrupts xterm
55
 *
56
 * Revision 1.20  1996/05/20  14:31:02  pwe
57
 * improved 64-bit handling
58
 *
59
 * Revision 1.19  1996/02/20  14:45:31  pwe
60
 * linux/elf return struct
61
 *
62
 * Revision 1.18  1996/02/08  13:45:39  pwe
63
 * Linux elf v aout option
64
 *
65
 * Revision 1.17  1995/12/01  11:54:15  pwe
66
 * solaris proc equality
67
 *
68
 * Revision 1.16  1995/10/09  15:14:32  pwe
69
 * dynamic initialisation etc
70
 *
71
 * Revision 1.15  1995/09/29  16:18:14  pwe
72
 * gcc_compatible default on Linux
73
 *
74
 * Revision 1.14  1995/09/20  12:00:40  pwe
75
 * svr4 and solaris initial_value, and solaris 64 bit correction
76
 *
77
 * Revision 1.13  1995/09/19  15:43:07  pwe
78
 * round, fp overflow etc
79
 *
80
 * Revision 1.12  1995/09/05  16:25:31  pwe
81
 * specials and exception changes
82
 *
83
 * Revision 1.11  1995/08/30  16:07:15  pwe
84
 * prepare exception trapping
85
 *
86
 * Revision 1.10  1995/07/07  15:22:30  pwe
87
 * prepare for 4.0, and correct PIC switch
88
 *
89
 * Revision 1.9  1995/03/16  09:13:43  pwe
90
 * sco_gas now install time option
91
 *
92
 * Revision 1.8  1995/01/30  14:43:51  pwe
93
 * defined value_of_null for CR95_032
94
 *
95
 * Revision 1.7  1995/01/30  12:57:18  pwe
96
 * Ownership -> PWE, tidy banners
97
 *
98
 * Revision 1.6  1994/11/08  16:23:50  jmf
99
 * Added substitute_complex
100
 *
101
 * Revision 1.5  1994/09/27  16:14:21  jmf
102
 * added do_case_transforms
103
 *
104
 * Revision 1.4  1994/09/27  15:12:41  jmf
105
 * added do_case_transforms
106
 *
107
 * Revision 1.3  1994/08/04  13:38:10  jmf
108
 * Added condassign_implemented
109
 *
110
 * Revision 1.2  1994/07/13  07:57:06  jmf
111
 * Added Log
112
 *
113
**********************************************************************/
114
 
115
#ifndef config_key
116
#define config_key 1
117
 
118
 
119
/* API SPECIFICATION */
120
#include "ossg_api.h"
121
#include "ossg.h"
122
 
123
#ifndef FS_LITTLE_ENDIAN
124
#define FS_LITTLE_ENDIAN	1
125
#endif
126
 
127
 
128
extern int sco_gas;
129
 
130
#define isvax 0
131
#define ismips 0
132
#define is68000 0
133
#define is80x86 1
134
#define ispower 0
135
#define issparc 0
136
#define istrans 0
137
#define ishppa 0
138
#define isAlpha 0
139
 
140
#define issco 1
141
#define issol86 0
142
#define islinux 0
143
#define isfreebsd 0
144
#define remove_struct_ref 0
145
 
146
#define has_setcc 1
147
#define little_end 1
148
#define has_byte_regs 1
149
#define has_byte_ops 1
150
#define only_lengthen_ops 1
151
#define has_neg_shift 0
152
#define regable_union 0
153
#define substitute_params 1
154
#define special_fns 1
155
#define shift_is_byte 1
156
#define only_inline_static 0
157
#define remove_zero_offsets 1
158
#define replace_compound 1
159
#define no_bitfield_ops 1
160
#define dont_unpad_apply 0
161
#define diagnose_registers 0
162
#define load_ptr_pars 1
163
#define use_long_double 1	/* not used by SCO cc */
164
#define has64bits 1
165
#define keep_PIC_vars 0
166
#define div0_implemented 1
167
#define do_case_transforms 1
168
#define substitute_complex 1
169
#define has_rotate 1
170
#define GCC_STRUCTS 0
171
 
172
#define maxmin_implemented 1
173
#define condassign_implemented 0
174
#define target_dbl_maxexp 308
175
 
176
#define check_shape 1
177
#define value_of_null 0
178
#define no_trap_on_nil_contents 1
179
 
180
#define prefix_length 0	/* strlen(name_prefix) */
181
#define AVOID_INTOV 0	/* Software interrupts unsafe */
182
#define normal_fpucon 0x272
183
 
184
#define remove_unused_counters 0
185
#define remove_unused_index_counters 0
186
#define good_index_factor(f) 0
187
#define good_pointer_factor(f) ((f) != 1 && (f) != 2 && (f) != 4 && (f) != 8)
188
 
189
/* Parameters for TDF->TDF case_optimisation */
190
 
191
#define jump_table_density 10        /* between 0 and 100 */
192
 
193
/* jump_table density is the percentage of entries which must be filled 
194
 * in a jump table in order for it to be created
195
 * So 0 would try to make everything into a jump table whereas 100
196
 * would mean only full jump tables could be put out
197
 */
198
 
199
#define non_default_entries 4      /* a positive integer */
200
 
201
/* non_default_entries is the minimum number of non default entries a
202
 * jump table can contain
203
 */
204
 
205
#define non_default_destinations 2  /* a positive integer */
206
 
207
/* non_default_destinations is the minimum number of non default destinations
208
 * a jump table can contain
209
 */
210
 
211
 
212
#define temp_mips 0
213
 
214
#endif