Back to index

cell-binutils  2.17cvs20070401
dw2gencfi.h
Go to the documentation of this file.
00001 /* dw2gencfi.h - Support for generating Dwarf2 CFI information.
00002    Copyright 2003 Free Software Foundation, Inc.
00003    Contributed by Michal Ludvig <mludvig@suse.cz>
00004 
00005    This file is part of GAS, the GNU Assembler.
00006 
00007    GAS is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 2, or (at your option)
00010    any later version.
00011 
00012    GAS is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with GAS; see the file COPYING.  If not, write to the Free
00019    Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
00020    02110-1301, USA.  */
00021 
00022 #ifndef DW2GENCFI_H
00023 #define DW2GENCFI_H
00024 
00025 #include "elf/dwarf2.h"
00026 
00027 struct symbol;
00028 
00029 extern const pseudo_typeS cfi_pseudo_table[];
00030 
00031 /* cfi_finish() is called at the end of file. It will complain if
00032    the last CFI wasn't properly closed by .cfi_endproc.  */
00033 extern void cfi_finish (void);
00034 
00035 /* Entry points for backends to add unwind information.  */
00036 extern void cfi_new_fde (struct symbol *);
00037 extern void cfi_end_fde (struct symbol *);
00038 extern void cfi_set_return_column (unsigned);
00039 extern void cfi_add_advance_loc (struct symbol *);
00040 
00041 extern void cfi_add_CFA_offset (unsigned, offsetT);
00042 extern void cfi_add_CFA_def_cfa (unsigned, offsetT);
00043 extern void cfi_add_CFA_register (unsigned, unsigned);
00044 extern void cfi_add_CFA_def_cfa_register (unsigned);
00045 extern void cfi_add_CFA_def_cfa_offset (offsetT);
00046 extern void cfi_add_CFA_restore (unsigned);
00047 extern void cfi_add_CFA_undefined (unsigned);
00048 extern void cfi_add_CFA_same_value (unsigned);
00049 extern void cfi_add_CFA_remember_state (void);
00050 extern void cfi_add_CFA_restore_state (void);
00051 
00052 #endif /* DW2GENCFI_H */