dwarf2asm.h revision 1.1.1.1.8.2
1/* Dwarf2 assembler output helper routines.
2   Copyright (C) 2001, 2003, 2005, 2007, 2008 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
9version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3.  If not see
18<http://www.gnu.org/licenses/>.  */
19
20
21extern void dw2_assemble_integer (int, rtx);
22
23extern void dw2_asm_output_data_raw (int, unsigned HOST_WIDE_INT);
24
25extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT,
26				 const char *, ...)
27     ATTRIBUTE_NULL_PRINTF_3;
28
29extern void dw2_asm_output_delta (int, const char *, const char *,
30				  const char *, ...)
31     ATTRIBUTE_NULL_PRINTF_4;
32
33extern void dw2_asm_output_offset (int, const char *, section *,
34				   const char *, ...)
35     ATTRIBUTE_NULL_PRINTF_4;
36
37extern void dw2_asm_output_addr (int, const char *, const char *, ...)
38     ATTRIBUTE_NULL_PRINTF_3;
39
40extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...)
41     ATTRIBUTE_NULL_PRINTF_3;
42
43extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool,
44					     const char *, ...)
45     ATTRIBUTE_NULL_PRINTF_4;
46
47extern void dw2_asm_output_nstring (const char *, size_t,
48				    const char *, ...)
49     ATTRIBUTE_NULL_PRINTF_3;
50
51extern void dw2_asm_output_data_uleb128_raw (unsigned HOST_WIDE_INT);
52
53extern void dw2_asm_output_data_uleb128	(unsigned HOST_WIDE_INT,
54					 const char *, ...)
55     ATTRIBUTE_NULL_PRINTF_2;
56
57extern void dw2_asm_output_data_sleb128_raw (HOST_WIDE_INT);
58
59extern void dw2_asm_output_data_sleb128	(HOST_WIDE_INT,
60					 const char *, ...)
61     ATTRIBUTE_NULL_PRINTF_2;
62
63extern void dw2_asm_output_delta_uleb128 (const char *, const char *,
64					  const char *, ...)
65     ATTRIBUTE_NULL_PRINTF_3;
66
67extern int size_of_uleb128 (unsigned HOST_WIDE_INT);
68extern int size_of_sleb128 (HOST_WIDE_INT);
69extern int size_of_encoded_value (int);
70extern const char *eh_data_format_name (int);
71
72extern rtx dw2_force_const_mem (rtx, bool);
73extern void dw2_output_indirect_constants (void);
74
75/* These are currently unused.  */
76
77#if 0
78extern void dw2_asm_output_pcrel (int, const char *, const char *, ...)
79     ATTRIBUTE_NULL_PRINTF_3;
80
81extern void dw2_asm_output_delta_sleb128 (const char *, const char *,
82					  const char *, ...)
83     ATTRIBUTE_NULL_PRINTF_3;
84#endif
85