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