Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
7 7u83 2
 * Copyright (c) 2002-2005 The TenDRA Project <http://www.tendra.org/>.
3
 * All rights reserved.
4
 *
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions are met:
7
 *
8
 * 1. Redistributions of source code must retain the above copyright notice,
9
 *    this list of conditions and the following disclaimer.
10
 * 2. Redistributions in binary form must reproduce the above copyright notice,
11
 *    this list of conditions and the following disclaimer in the documentation
12
 *    and/or other materials provided with the distribution.
13
 * 3. Neither the name of The TenDRA Project nor the names of its contributors
14
 *    may be used to endorse or promote products derived from this software
15
 *    without specific, prior written permission.
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
18
 * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
21
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22
 * EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
 *
29
 * $Id$
30
 */
31
/*
2 7u83 32
    		 Crown Copyright (c) 1997
7 7u83 33
 
2 7u83 34
    This TenDRA(r) Computer Program is subject to Copyright
35
    owned by the United Kingdom Secretary of State for Defence
36
    acting through the Defence Evaluation and Research Agency
37
    (DERA).  It is made available to Recipients with a
38
    royalty-free licence for its use, reproduction, transfer
39
    to other parties and amendment for any purpose not excluding
40
    product development provided that any such use et cetera
41
    shall be deemed to be acceptance of the following conditions:-
7 7u83 42
 
2 7u83 43
        (1) Its Recipients shall ensure that this Notice is
44
        reproduced upon any copies or amended versions of it;
7 7u83 45
 
2 7u83 46
        (2) Any amended version of it shall be clearly marked to
47
        show both the nature of and the organisation responsible
48
        for the relevant amendment or amendments;
7 7u83 49
 
2 7u83 50
        (3) Its onward transfer from a recipient to another
51
        party shall be deemed to be that party's acceptance of
52
        these conditions;
7 7u83 53
 
2 7u83 54
        (4) DERA gives no warranty or assurance as to its
55
        quality or suitability for any purpose and DERA accepts
56
        no liability whatsoever in relation to any use to which
57
        it may be put.
58
*/
59
 
60
 
61
/**********************************************************************
62
$Author: pwe $
63
$Date: 1998/03/15 16:00:33 $
64
$Revision: 1.3 $
65
$Log: dw2_basic.h,v $
66
 * Revision 1.3  1998/03/15  16:00:33  pwe
67
 * regtrack dwarf dagnostics added
68
 *
69
 * Revision 1.2  1998/03/11  11:03:38  pwe
70
 * DWARF optimisation info
71
 *
72
 * Revision 1.1.1.1  1998/01/17  15:55:48  release
73
 * First version to be checked into rolling release.
74
 *
75
 * Revision 1.8  1997/12/04  19:41:14  pwe
76
 * ANDF-DE V1.9
77
 *
78
 * Revision 1.7  1997/11/06  09:22:00  pwe
79
 * ANDF-DE V1.8
80
 *
81
 * Revision 1.6  1997/10/10  18:18:23  pwe
82
 * prep ANDF-DE revision
83
 *
84
 * Revision 1.5  1997/08/23  13:36:34  pwe
85
 * initial ANDF-DE
86
 *
87
 * Revision 1.4  1997/04/17  11:50:14  pwe
88
 * Sparc and 80x86 support
89
 *
90
 * Revision 1.3  1997/04/01  17:19:35  pwe
91
 * diagnose pl_tests and locate -> platform specific
92
 *
93
 * Revision 1.2  1997/03/24  11:10:20  pwe
94
 * struct bitfields
95
 *
96
 * Revision 1.1  1997/03/20  16:09:02  pwe
97
 * first version
98
 *
99
**********************************************************************/
100
 
101
#ifndef dw2_basic_key
102
#define dw2_basic_key
103
 
7 7u83 104
extern void uleb128(unsigned long value);
105
extern void sleb128(long value);
106
extern int uleb128_length(unsigned long value);
107
extern int sleb128_length(long value);
108
extern void set_attribute(int name, int form);
109
extern void do_compunit_header(void);
110
extern void close_compunit_info(void);
111
extern void dw_sibling_end(void);
112
extern void dw_at_address(long lab);
113
extern void dw_at_ext_lab(ext_lab lab);
114
extern void dw_set_ext_lab(ext_lab lab);
115
extern void dw_at_ext_address(dg_tag tg);
116
extern void set_ext_address(dg_tag tg);
117
extern void dw_at_abstract_lab(dg_tag tg);
118
extern void set_abstract_lab(dg_tag tg);
119
extern void dw_at_string(char* s);
120
extern void dw_at_form(int f);
121
extern void dw_at_data(int n, long d);
122
extern void dw_at_udata(unsigned long n);
123
extern void dw_at_sdata(long n);
124
extern void dw_at_flag(int x);
125
extern void dw_at_decl(short_sourcepos p);
126
extern void dw_no_locate(void);
127
extern void dw_locate_offset(int n);
128
extern void dw_locate_reloffset(exp e);
129
extern void dw_at_distance(long lo, long hi);
130
extern long set_dw_text_label(void);
131
extern void out_text_label(long n);
132
extern void out_loc_range(long start, long end, int inclusive);
2 7u83 133
 
134
extern long last_text_label;
135
 
136
 
137
#endif