xref: /openbsd-src/gnu/gcc/gcc/dwarf2asm.h (revision 404b540a9034ac75a6199ad1a32d1bbc7a0d4210)
1 /* Dwarf2 assembler output helper routines.
2    Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
3 
4 This file is part of GCC.
5 
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.
10 
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.
15 
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.  */
20 
21 
22 extern void dw2_assemble_integer (int, rtx);
23 
24 extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT,
25 				 const char *, ...)
26      ATTRIBUTE_NULL_PRINTF_3;
27 
28 extern void dw2_asm_output_delta (int, const char *, const char *,
29 				  const char *, ...)
30      ATTRIBUTE_NULL_PRINTF_4;
31 
32 extern void dw2_asm_output_offset (int, const char *, section *,
33 				   const char *, ...)
34      ATTRIBUTE_NULL_PRINTF_4;
35 
36 extern void dw2_asm_output_addr (int, const char *, const char *, ...)
37      ATTRIBUTE_NULL_PRINTF_3;
38 
39 extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...)
40      ATTRIBUTE_NULL_PRINTF_3;
41 
42 extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool,
43 					     const char *, ...)
44      ATTRIBUTE_NULL_PRINTF_4;
45 
46 extern void dw2_asm_output_nstring (const char *, size_t,
47 				    const char *, ...)
48      ATTRIBUTE_NULL_PRINTF_3;
49 
50 extern void dw2_asm_output_data_uleb128	(unsigned HOST_WIDE_INT,
51 					 const char *, ...)
52      ATTRIBUTE_NULL_PRINTF_2;
53 
54 extern void dw2_asm_output_data_sleb128	(HOST_WIDE_INT,
55 					 const char *, ...)
56      ATTRIBUTE_NULL_PRINTF_2;
57 
58 extern void dw2_asm_output_delta_uleb128 (const char *, const char *,
59 					  const char *, ...)
60      ATTRIBUTE_NULL_PRINTF_3;
61 
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);
66 
67 extern void dw2_output_indirect_constants (void);
68 
69 /* These are currently unused.  */
70 
71 #if 0
72 extern void dw2_asm_output_pcrel (int, const char *, const char *, ...)
73      ATTRIBUTE_NULL_PRINTF_3;
74 
75 extern void dw2_asm_output_delta_sleb128 (const char *, const char *,
76 					  const char *, ...)
77      ATTRIBUTE_NULL_PRINTF_3;
78 #endif
79