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
 
32
 
33
/*
34
			    VERSION INFORMATION
35
			    ===================
36
 
37
--------------------------------------------------------------------------
38
$Header: /u/g/release/CVSROOT/Source/src/installers/sparc/common/translat.h,v 1.1.1.1 1998/01/17 15:55:55 release Exp $
39
--------------------------------------------------------------------------
40
$Log: translat.h,v $
41
 * Revision 1.1.1.1  1998/01/17  15:55:55  release
42
 * First version to be checked into rolling release.
43
 *
44
 * Revision 1.7  1997/04/17  12:00:07  pwe
45
 * dwarf2 support
46
 *
47
 * Revision 1.6  1996/08/27  14:09:22  pwe
48
 * ensure all varargs are stored, and ptr is not64bit
49
 *
50
 * Revision 1.5  1995/11/07  09:54:05  john
51
 * New externs
52
 *
53
 * Revision 1.4  1995/10/04  09:01:34  john
54
 * Added init section
55
 *
56
 * Revision 1.3  1995/06/14  15:36:55  john
57
 * Added prototype for find_tag
58
 *
59
 * Revision 1.2  1995/05/26  13:02:25  john
60
 * Change for new spec
61
 *
62
 * Revision 1.1.1.1  1995/03/13  10:19:00  john
63
 * Entered into CVS
64
 *
65
 * Revision 1.2  1994/07/04  09:24:54  djch
66
 * Jun94 tape version
67
 *
68
 * Revision 1.1  1994/05/03  14:50:52  djch
69
 * Initial revision
70
 *
71
 * Revision 1.3  93/07/05  18:29:36  18:29:36  ra (Robert Andrews)
72
 * Made distinction between the System V assembler and the System V ABI.
73
 * 
74
 * Revision 1.2  93/06/29  14:38:25  14:38:25  ra (Robert Andrews)
75
 * Declare diag_def, init_translator and exit_translator.
76
 * 
77
 * Revision 1.1  93/06/24  14:59:37  14:59:37  ra (Robert Andrews)
78
 * Initial revision
79
 * 
80
--------------------------------------------------------------------------
81
*/
82
 
83
 
84
#ifndef TRANSLAT_INCLUDED
85
#define TRANSLAT_INCLUDED
86
#include "addrtypes.h"
87
extern int optim_level ;
88
extern int g_reg_max ;
89
extern int maxfix_tregs ;
90
extern int sysV_abi ;
91
extern int sysV_assembler ;
92
 
93
extern dec *diag_def ;
94
extern dec **main_globals ;
95
 
96
enum section {
97
    no_section = 0,
98
    data_section,
99
    text_section,
100
    rodata_section,
101
    init_section
102
} ;
103
extern int local_reg;
104
extern int callee_start_reg;
105
extern int callee_end_reg;
106
extern int caller_offset_used;
107
extern enum section current_section;
108
extern ash ashof PROTO_S ( ( shape ) ) ;
109
extern void init_translator PROTO_S ( ( void ) ) ;
110
extern void exit_translator PROTO_S ( ( void ) ) ;
111
extern void insection PROTO_S ( ( enum section ) ) ;
112
extern void mark_unaliased PROTO_S ( ( exp ) ) ;
113
extern void translate_capsule PROTO_S ( ( void ) ) ;
114
extern void translate_tagdef PROTO_S ( ( void ) ) ;
115
extern void translate_unit PROTO_S ( ( void ) ) ;
116
extern baseoff find_tag PROTO_S ((char *));
117
 
118
 
119
#endif /* TRANSLAT_INCLUDED */
120