1 /* Dwarf2 assembler output helper routines.
2 Copyright (C) 2001, 2003, 2005, 2007, 2008, 2010
3 Free Software Foundation, Inc.
5 This file is part of GCC.
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
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
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/>. */
22 extern void dw2_assemble_integer (int, rtx
);
24 extern void dw2_asm_output_data_raw (int, unsigned HOST_WIDE_INT
);
26 extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT
,
28 ATTRIBUTE_NULL_PRINTF_3
;
30 extern void dw2_asm_output_delta (int, const char *, const char *,
32 ATTRIBUTE_NULL_PRINTF_4
;
34 extern void dw2_asm_output_vms_delta (int, const char *, const char *,
36 ATTRIBUTE_NULL_PRINTF_4
;
38 extern void dw2_asm_output_offset (int, const char *, section
*,
40 ATTRIBUTE_NULL_PRINTF_4
;
42 extern void dw2_asm_output_addr (int, const char *, const char *, ...)
43 ATTRIBUTE_NULL_PRINTF_3
;
45 extern void dw2_asm_output_addr_rtx (int, rtx
, const char *, ...)
46 ATTRIBUTE_NULL_PRINTF_3
;
48 extern void dw2_asm_output_encoded_addr_rtx (int, rtx
, bool,
50 ATTRIBUTE_NULL_PRINTF_4
;
52 extern void dw2_asm_output_nstring (const char *, size_t,
54 ATTRIBUTE_NULL_PRINTF_3
;
56 extern void dw2_asm_output_data_uleb128_raw (unsigned HOST_WIDE_INT
);
58 extern void dw2_asm_output_data_uleb128 (unsigned HOST_WIDE_INT
,
60 ATTRIBUTE_NULL_PRINTF_2
;
62 extern void dw2_asm_output_data_sleb128_raw (HOST_WIDE_INT
);
64 extern void dw2_asm_output_data_sleb128 (HOST_WIDE_INT
,
66 ATTRIBUTE_NULL_PRINTF_2
;
68 extern void dw2_asm_output_delta_uleb128 (const char *, const char *,
70 ATTRIBUTE_NULL_PRINTF_3
;
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);
77 extern rtx
dw2_force_const_mem (rtx
, bool);
78 extern void dw2_output_indirect_constants (void);
80 /* These are currently unused. */
83 extern void dw2_asm_output_pcrel (int, const char *, const char *, ...)
84 ATTRIBUTE_NULL_PRINTF_3
;
86 extern void dw2_asm_output_delta_sleb128 (const char *, const char *,
88 ATTRIBUTE_NULL_PRINTF_3
;