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