2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
[official-gcc.git] / gcc / dwarf2asm.h
blobcd8293f736fbcf905ddcea1f2b4497c9850422f7
1 /* Dwarf2 assembler output helper routines.
2 Copyright (C) 2001, 2003, 2005 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 2, 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 COPYING. If not, write to the Free
18 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301, USA. */
22 extern void dw2_assemble_integer (int, rtx);
24 extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT,
25 const char *, ...)
26 ATTRIBUTE_NULL_PRINTF_3;
28 extern void dw2_asm_output_delta (int, const char *, const char *,
29 const char *, ...)
30 ATTRIBUTE_NULL_PRINTF_4;
32 extern void dw2_asm_output_offset (int, const char *, section *,
33 const char *, ...)
34 ATTRIBUTE_NULL_PRINTF_4;
36 extern void dw2_asm_output_addr (int, const char *, const char *, ...)
37 ATTRIBUTE_NULL_PRINTF_3;
39 extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...)
40 ATTRIBUTE_NULL_PRINTF_3;
42 extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool,
43 const char *, ...)
44 ATTRIBUTE_NULL_PRINTF_4;
46 extern void dw2_asm_output_nstring (const char *, size_t,
47 const char *, ...)
48 ATTRIBUTE_NULL_PRINTF_3;
50 extern void dw2_asm_output_data_uleb128 (unsigned HOST_WIDE_INT,
51 const char *, ...)
52 ATTRIBUTE_NULL_PRINTF_2;
54 extern void dw2_asm_output_data_sleb128 (HOST_WIDE_INT,
55 const char *, ...)
56 ATTRIBUTE_NULL_PRINTF_2;
58 extern void dw2_asm_output_delta_uleb128 (const char *, const char *,
59 const char *, ...)
60 ATTRIBUTE_NULL_PRINTF_3;
62 extern int size_of_uleb128 (unsigned HOST_WIDE_INT);
63 extern int size_of_sleb128 (HOST_WIDE_INT);
64 extern int size_of_encoded_value (int);
65 extern const char *eh_data_format_name (int);
67 extern void dw2_output_indirect_constants (void);
69 /* These are currently unused. */
71 #if 0
72 extern void dw2_asm_output_pcrel (int, const char *, const char *, ...)
73 ATTRIBUTE_NULL_PRINTF_3;
75 extern void dw2_asm_output_delta_sleb128 (const char *, const char *,
76 const char *, ...)
77 ATTRIBUTE_NULL_PRINTF_3;
78 #endif