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