Commit | Line | Data |
---|---|---|
54cfded0 | 1 | /* dw2gencfi.h - Support for generating Dwarf2 CFI information. |
aa820537 | 2 | Copyright 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc. |
54cfded0 AM |
3 | Contributed by Michal Ludvig <mludvig@suse.cz> |
4 | ||
5 | This file is part of GAS, the GNU Assembler. | |
6 | ||
7 | GAS is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
ec2655a6 | 9 | the Free Software Foundation; either version 3, or (at your option) |
54cfded0 AM |
10 | any later version. |
11 | ||
12 | GAS is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with GAS; see the file COPYING. If not, write to the Free | |
4b4da160 NC |
19 | Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA |
20 | 02110-1301, USA. */ | |
54cfded0 AM |
21 | |
22 | #ifndef DW2GENCFI_H | |
23 | #define DW2GENCFI_H | |
24 | ||
fa8f86ff | 25 | #include "dwarf2.h" |
54cfded0 | 26 | |
a4447b93 | 27 | struct symbol; |
54cfded0 AM |
28 | |
29 | extern const pseudo_typeS cfi_pseudo_table[]; | |
30 | ||
54cfded0 AM |
31 | /* cfi_finish() is called at the end of file. It will complain if |
32 | the last CFI wasn't properly closed by .cfi_endproc. */ | |
a4447b93 RH |
33 | extern void cfi_finish (void); |
34 | ||
35 | /* Entry points for backends to add unwind information. */ | |
36 | extern void cfi_new_fde (struct symbol *); | |
37 | extern void cfi_end_fde (struct symbol *); | |
38 | extern void cfi_set_return_column (unsigned); | |
39 | extern void cfi_add_advance_loc (struct symbol *); | |
2be24b54 | 40 | |
a4447b93 RH |
41 | extern void cfi_add_CFA_offset (unsigned, offsetT); |
42 | extern void cfi_add_CFA_def_cfa (unsigned, offsetT); | |
43 | extern void cfi_add_CFA_register (unsigned, unsigned); | |
44 | extern void cfi_add_CFA_def_cfa_register (unsigned); | |
45 | extern void cfi_add_CFA_def_cfa_offset (offsetT); | |
2be24b54 ML |
46 | extern void cfi_add_CFA_restore (unsigned); |
47 | extern void cfi_add_CFA_undefined (unsigned); | |
48 | extern void cfi_add_CFA_same_value (unsigned); | |
49 | extern void cfi_add_CFA_remember_state (void); | |
50 | extern void cfi_add_CFA_restore_state (void); | |
54cfded0 AM |
51 | |
52 | #endif /* DW2GENCFI_H */ |