2002-05-02 David S. Miller <davem@redhat.com>
[official-gcc.git] / gcc / dwarf2asm.h
blob859883d45e3492f0193b839d265960311cb6bfb9
1 /* Dwarf2 assembler output helper routines.
2 Copyright (C) 2001 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, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA. */
22 /* ??? Format checking yields "null format string" warnings, which is
23 the way these routines are signaled that there is no associated
24 debug information. So the attributes are commented out. */
26 extern void dw2_assemble_integer PARAMS ((int, rtx));
28 extern void dw2_asm_output_data PARAMS ((int, unsigned HOST_WIDE_INT,
29 const char *, ...))
30 /* ATTRIBUTE_PRINTF_3 */;
32 extern void dw2_asm_output_delta PARAMS ((int, const char *,
33 const char *,
34 const char *, ...))
35 /* ATTRIBUTE_PRINTF_4 */;
37 extern void dw2_asm_output_offset PARAMS ((int, const char *,
38 const char *, ...))
39 /* ATTRIBUTE_PRINTF_3 */;
41 extern void dw2_asm_output_pcrel PARAMS ((int, const char *,
42 const char *, ...))
43 /* ATTRIBUTE_PRINTF_3 */;
45 extern void dw2_asm_output_addr PARAMS ((int, const char *,
46 const char *, ...))
47 /* ATTRIBUTE_PRINTF_3 */;
49 extern void dw2_asm_output_addr_rtx PARAMS ((int, rtx,
50 const char *, ...))
51 /* ATTRIBUTE_PRINTF_3 */;
53 extern void dw2_asm_output_encoded_addr_rtx PARAMS ((int, rtx,
54 const char *, ...))
55 /* ATTRIBUTE_PRINTF_3 */;
57 extern void dw2_asm_output_nstring PARAMS ((const char *, size_t,
58 const char *, ...))
59 /* ATTRIBUTE_PRINTF_3 */;
61 extern void dw2_asm_output_data_uleb128 PARAMS ((unsigned HOST_WIDE_INT,
62 const char *, ...))
63 /* ATTRIBUTE_PRINTF_2 */;
65 extern void dw2_asm_output_data_sleb128 PARAMS ((HOST_WIDE_INT,
66 const char *, ...))
67 /* ATTRIBUTE_PRINTF_2 */;
69 extern void dw2_asm_output_delta_uleb128 PARAMS ((const char *, const char *,
70 const char *, ...))
71 /* ATTRIBUTE_PRINTF_3 */;
73 extern void dw2_asm_output_delta_sleb128 PARAMS ((const char *, const char *,
74 const char *, ...))
75 /* ATTRIBUTE_PRINTF_3 */;
77 extern int size_of_uleb128 PARAMS ((unsigned HOST_WIDE_INT));
78 extern int size_of_sleb128 PARAMS ((HOST_WIDE_INT));
79 extern int size_of_encoded_value PARAMS ((int));
80 extern const char *eh_data_format_name PARAMS ((int));
82 extern void dw2_output_indirect_constants PARAMS ((void));