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 |
/*
|
|
|
32 |
$Log: frames.h,v $
|
|
|
33 |
* Revision 1.1.1.1 1998/01/17 15:56:02 release
|
|
|
34 |
* First version to be checked into rolling release.
|
|
|
35 |
*
|
|
|
36 |
* Revision 1.5 1996/09/05 11:05:10 wfs
|
|
|
37 |
* "dynamic_init" boolean variable removed - must always be considered true.
|
|
|
38 |
*
|
|
|
39 |
* Revision 1.4 1996/01/30 15:36:28 wfs
|
|
|
40 |
* Added the dynamic initialization files "dyn_begin.s" and "dyn_end.s" to
|
|
|
41 |
* the hppatrans repository. The bl_install and bl_update scripts were
|
|
|
42 |
* expanded to deal with these new "initcode" files.
|
|
|
43 |
*
|
|
|
44 |
* Revision 1.3 1996/01/19 14:13:18 wfs
|
|
|
45 |
* Added "bool" type to an extern declaration in "frames.h".
|
|
|
46 |
*
|
|
|
47 |
* Revision 1.2 1995/12/18 13:11:20 wfs
|
|
|
48 |
* Put hppatrans uder cvs control. Major Changes made since last release
|
|
|
49 |
* include:
|
|
|
50 |
* (i) PIC code generation.
|
|
|
51 |
* (ii) Profiling.
|
|
|
52 |
* (iii) Dynamic Initialization.
|
|
|
53 |
* (iv) Debugging of Exception Handling and Diagnostics.
|
|
|
54 |
*
|
|
|
55 |
* Revision 5.2 1995/10/20 13:48:14 wfs
|
|
|
56 |
* "set_up_frame()" and "setframe_flags()" declared for gcc compilation.
|
|
|
57 |
*
|
|
|
58 |
* Revision 5.1 1995/09/15 13:48:19 wfs
|
|
|
59 |
* Variable name change.
|
|
|
60 |
*
|
|
|
61 |
* Revision 5.0 1995/08/25 13:55:56 wfs
|
|
|
62 |
* Preperation for August 95 Glue release
|
|
|
63 |
*
|
|
|
64 |
* Revision 4.0 1995/08/25 13:34:00 wfs
|
|
|
65 |
* *** empty log message ***
|
|
|
66 |
*
|
|
|
67 |
* Revision 4.0 1995/08/25 13:34:00 wfs
|
|
|
68 |
* *** empty log message ***
|
|
|
69 |
*
|
|
|
70 |
* Revision 3.4 1995/08/25 11:01:26 wfs
|
|
|
71 |
* Many of the frame specific variables are noew defined in "frames.c",
|
|
|
72 |
* their external declarations have been moved to this header file"
|
|
|
73 |
*
|
|
|
74 |
* Revision 3.4 1995/08/25 11:01:26 wfs
|
|
|
75 |
* Many of the frame specific variables are noew defined in "frames.c",
|
|
|
76 |
* their external declarations have been moved to this header file"
|
|
|
77 |
*
|
|
|
78 |
* Revision 3.1 95/04/10 16:26:27 16:26:27 wfs (William Simmonds)
|
|
|
79 |
* Apr95 tape version.
|
|
|
80 |
*
|
|
|
81 |
* Revision 3.0 95/03/30 11:17:07 11:17:07 wfs (William Simmonds)
|
|
|
82 |
* Mar95 tape version with CRCR95_178 bug fix.
|
|
|
83 |
*
|
|
|
84 |
* Revision 2.0 95/03/15 15:26:54 15:26:54 wfs (William Simmonds)
|
|
|
85 |
* spec 3.1 changes implemented, tests outstanding.
|
|
|
86 |
*
|
|
|
87 |
* Revision 1.1 95/01/11 13:38:18 13:38:18 wfs (William Simmonds)
|
|
|
88 |
* Initial revision
|
|
|
89 |
*
|
|
|
90 |
*/
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
#ifndef FRAMES
|
|
|
94 |
#define FRAMES
|
|
|
95 |
|
|
|
96 |
#include "common_types.h"
|
|
|
97 |
#include "addrtypes.h"
|
|
|
98 |
|
|
|
99 |
extern bool Has_fp;
|
|
|
100 |
extern bool Has_vsp;
|
|
|
101 |
extern bool Has_tos;
|
|
|
102 |
extern bool No_S;
|
|
|
103 |
extern bool Has_ll;
|
|
|
104 |
extern bool Has_checkalloc;
|
|
|
105 |
extern bool Has_vcallees;
|
|
|
106 |
extern bool Uses_crt_env;
|
|
|
107 |
extern bool Has_no_vcallers;
|
|
|
108 |
extern bool is_PIC_and_calls;
|
|
|
109 |
extern bool plusZ;
|
|
|
110 |
|
|
|
111 |
extern long callees_offset;
|
|
|
112 |
extern long params_offset;
|
|
|
113 |
extern long locals_offset;
|
|
|
114 |
extern long frame_sz;
|
|
|
115 |
extern long max_args;
|
|
|
116 |
extern long locals_space;
|
|
|
117 |
extern int fixdump;
|
|
|
118 |
extern int gdb,xdb,gcc_assembler;
|
|
|
119 |
extern long stackerr_lab,aritherr_lab;
|
|
|
120 |
|
|
|
121 |
extern baseoff MEM_TEMP_BOFF,LONG_RESULT_BOFF,SP_BOFF,FP_BOFF;
|
|
|
122 |
|
|
|
123 |
/* EXTENSION */ extern bool Has_vcallees;
|
|
|
124 |
|
|
|
125 |
extern long frame_offset PROTO_S (( exp id ));
|
|
|
126 |
extern void set_up_frame PROTO_S (( exp ));
|
|
|
127 |
extern void setframe_flags PROTO_S (( exp, bool ));
|
|
|
128 |
|
|
|
129 |
/* EXTENSION */ extern long callee_sz;
|
|
|
130 |
|
|
|
131 |
#endif
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|