Subversion Repositories tendra.SVN

Rev

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
	/* Basic Mapping Token Definitions for sun_m68k	*/
32
	/*						*/
33
	/* ******************************************** */
34
 
35
 
36
 
37
 
38
	/* C MAPPING TOKENS */
39
 
40
 
41
Tokdef .~char_width = [] NAT
42
8;
43
 
44
 
45
Tokdef .~short_width = [] NAT
46
16;
47
 
48
 
49
Tokdef .~int_width = [] NAT
50
32;
51
 
52
 
53
Tokdef .~long_width = [] NAT
54
32;
55
 
56
 
57
Tokdef .~longlong_width = [] NAT
58
64;
59
 
60
 
61
Tokdef .~size_t_width = [] NAT
62
32;
63
 
64
 
65
Tokdef .~fl_rep = [] NAT
66
1;
67
 
68
 
69
Tokdef .~dbl_rep = [] NAT
70
2;
71
 
72
 
73
Tokdef .~ldbl_rep = [] NAT
74
2;
75
 
76
 
77
Tokdef .~pv_align = [] ALIGNMENT
78
alignment(integer(var_width(false,8)));
79
 
80
 
81
Tokdef .~min_struct_rep = [] NAT
82
16;
83
 
84
 
85
Tokdef .~char_is_signed = [] BOOL
86
true;
87
 
88
 
89
Tokdef .~bitfield_is_signed = [] BOOL
90
true;
91
 
92
 
93
 
94
 
95
	/* FORTRAN MAPPING TOKENS */
96
 
97
 
98
Tokdef .~F_char_width = [] NAT
99
8;
100
 
101
 
102
Tokdef .~F_int_width = [] NAT
103
32;
104
 
105
 
106
Tokdef .~F_fl_rep = [] NAT
107
1;
108
 
109
 
110
Tokdef .~F_dbl_rep = [] NAT
111
2;
112
 
113
 
114
 
115
 
116
Keep (
117
.~char_width, .~short_width, .~int_width, .~long_width, .~longlong_width,
118
.~size_t_width,
119
.~fl_rep, .~dbl_rep, .~ldbl_rep, .~pv_align, .~min_struct_rep,
120
.~char_is_signed, .~bitfield_is_signed,
121
.~F_char_width, .~F_int_width, .~F_fl_rep, .~F_dbl_rep
122
)