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