From d4ea462245cd9d967dce805b8b97ffe10ee30c3e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 5 Aug 2008 10:24:37 -0700 Subject: Makefile.in (c-cppbuiltin.o): Depend on debug.h. * Makefile.in (c-cppbuiltin.o): Depend on debug.h. * c-cppbuiltin.c (c_cpp_builtins): Define __GCC_HAVE_DWARF2_CFI_ASM. * doc/cpp.texi (__GCC_HAVE_DWARF2_CFI_ASM): Document it. * common.opt (fdwarf2-cfi-asm): New. * configure.ac (HAVE_GAS_CFI_DIRECTIVE): New. * config.in, configure: Rebuild. * dwarf2asm.c (dw2_asm_output_data_raw): New. (dw2_asm_output_data_uleb128_raw, dw2_asm_output_data_sleb128_raw): New. (dw2_force_const_mem): Externalize. * dwarf2asm.h: Update. * dwarf2out.c (dwarf2out_cfi_label): If flag_dwarf2_cfi_asm, don't generate a real label. (output_cfi_directive): New. (add_fde_cfi): If flag_dwarf2_cfi_asm, use it. (output_call_frame_info): Do nothing if flag_dwarf2_cfi_asm. (dwarf2out_begin_prologue): Emit .cfi_startproc, .cfi_personality, and .cfi_lsda. (dwarf2out_end_epilogue): Emit .cfi_endproc. (output_loc_operands_raw, output_loc_sequence_raw): New. (output_cfa_loc_raw): New. From-SVN: r138733 --- gcc/dwarf2asm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/dwarf2asm.h') diff --git a/gcc/dwarf2asm.h b/gcc/dwarf2asm.h index 03fc0ca0e16..70fbd4c4400 100644 --- a/gcc/dwarf2asm.h +++ b/gcc/dwarf2asm.h @@ -20,6 +20,8 @@ along with GCC; see the file COPYING3. If not see extern void dw2_assemble_integer (int, rtx); +extern void dw2_asm_output_data_raw (int, unsigned HOST_WIDE_INT); + extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT, const char *, ...) ATTRIBUTE_NULL_PRINTF_3; @@ -46,10 +48,14 @@ extern void dw2_asm_output_nstring (const char *, size_t, const char *, ...) ATTRIBUTE_NULL_PRINTF_3; +extern void dw2_asm_output_data_uleb128_raw (unsigned HOST_WIDE_INT); + extern void dw2_asm_output_data_uleb128 (unsigned HOST_WIDE_INT, const char *, ...) ATTRIBUTE_NULL_PRINTF_2; +extern void dw2_asm_output_data_sleb128_raw (HOST_WIDE_INT); + extern void dw2_asm_output_data_sleb128 (HOST_WIDE_INT, const char *, ...) ATTRIBUTE_NULL_PRINTF_2; @@ -63,6 +69,7 @@ extern int size_of_sleb128 (HOST_WIDE_INT); extern int size_of_encoded_value (int); extern const char *eh_data_format_name (int); +extern rtx dw2_force_const_mem (rtx, bool); extern void dw2_output_indirect_constants (void); /* These are currently unused. */ -- cgit v1.2.1