1/* Dwarf2 assembler output helper routines.
2   Copyright (C) 2001, 2003 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 2, 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 COPYING.  If not, write to the Free
18Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
1902110-1301, USA.  */
20
21
22extern void dw2_assemble_integer (int, rtx);
23
24extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT,
25				 const char *, ...)
26     ATTRIBUTE_NULL_PRINTF_3;
27
28extern void dw2_asm_output_delta (int, const char *, const char *,
29				  const char *, ...)
30     ATTRIBUTE_NULL_PRINTF_4;
31
32extern void dw2_asm_output_offset (int, const char *, const char *, ...)
33     ATTRIBUTE_NULL_PRINTF_3;
34
35extern void dw2_asm_output_addr (int, const char *, const char *, ...)
36     ATTRIBUTE_NULL_PRINTF_3;
37
38extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...)
39     ATTRIBUTE_NULL_PRINTF_3;
40
41extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool,
42					     const char *, ...)
43     ATTRIBUTE_NULL_PRINTF_4;
44
45extern void dw2_asm_output_nstring (const char *, size_t,
46				    const char *, ...)
47     ATTRIBUTE_NULL_PRINTF_3;
48
49extern void dw2_asm_output_data_uleb128	(unsigned HOST_WIDE_INT,
50					 const char *, ...)
51     ATTRIBUTE_NULL_PRINTF_2;
52
53extern void dw2_asm_output_data_sleb128	(HOST_WIDE_INT,
54					 const char *, ...)
55     ATTRIBUTE_NULL_PRINTF_2;
56
57extern void dw2_asm_output_delta_uleb128 (const char *, const char *,
58					  const char *, ...)
59     ATTRIBUTE_NULL_PRINTF_3;
60
61extern int size_of_uleb128 (unsigned HOST_WIDE_INT);
62extern int size_of_sleb128 (HOST_WIDE_INT);
63extern int size_of_encoded_value (int);
64extern const char *eh_data_format_name (int);
65
66extern void dw2_output_indirect_constants (void);
67
68/* These are currently unused.  */
69
70#if 0
71extern void dw2_asm_output_pcrel (int, const char *, const char *, ...)
72     ATTRIBUTE_NULL_PRINTF_3;
73
74extern void dw2_asm_output_delta_sleb128 (const char *, const char *,
75					  const char *, ...)
76     ATTRIBUTE_NULL_PRINTF_3;
77#endif
78