mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
fa8f86ff3b
* Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h. (elf-eh-frame.lo): Likewise. (elf32-bfin.lo): Likewise. (elf32-frv.lo): Likewise. (elf32-xc16x.lo): Likewise. * Makefile.in: Rebuild. * dwarf2.c: Included dwarf.h, not elf/dwarf2.h. * elf-eh-frame.c: Likewise. * elf32-bfin.c: Likewise. * elf32-frv.c: Likewise. * elf32-xc16x.c: Likewise. binutils * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h. * Makefile.in: Rebuild. * dwarf.c: Include dwarf2.h, not elf/dwarf2.h. gas * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not elf/dwarf2.h. (DEPTC_alpha_elf): Likewise. (DEPTC_alpha_evax): Likewise. (DEPTC_arm_elf): Likewise. (DEPTC_hppa_elf): Likewise. (DEPTC_i386_aout): Likewise. (DEPTC_i386_coff): Likewise. (DEPTC_i386_elf): Likewise. (DEPTC_m68k_aout): Likewise. (DEPTC_m68k_coff): Likewise. (DEPTC_m68k_elf): Likewise. (DEPTC_mips_coff): Likewise. (DEPTC_mips_ecoff): Likewise. (DEPTC_mips_elf): Likewise. (DEPTC_ppc_coff): Likewise. (DEPTC_ppc_elf): Likewise. (DEPTC_s390_elf): Likewise. (DEPTC_sh_coff): Likewise. (DEPTC_sh_elf): Likewise. (DEPTC_sh64_elf): Likewise. (DEPTC_sparc_aout): Likewise. (DEPTC_sparc_coff): Likewise. (DEPTC_sparc_elf): Likewise. (as.o): Likewise. (dwarf2dbg.o): Likewise. (dw2gencfi.o): Likewise. (ehopt.o): Likewise. (read.o): Likewise. * Makefile.in: Rebuild. * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h. * dwarf2dbg.c: Likewise. * ehopt.c: Likewise. gdb * dwarf2-frame.c: Include dwarf2.h, not elf/dwarf2.h. * dwarf2expr.c: Likewise. * dwarf2loc.c: Likewise. * dwarf2read.c: Likewise. * sh-tdep.c: Likewise. * xtensa-tdep.c: Likewise. include * dwarf2.h: New file, moved from elf/. include/elf * dwarf2.h: Move to `..'.
53 lines
1.9 KiB
C
53 lines
1.9 KiB
C
/* dw2gencfi.h - Support for generating Dwarf2 CFI information.
|
|
Copyright 2003, 2007 Free Software Foundation, Inc.
|
|
Contributed by Michal Ludvig <mludvig@suse.cz>
|
|
|
|
This file is part of GAS, the GNU Assembler.
|
|
|
|
GAS is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3, or (at your option)
|
|
any later version.
|
|
|
|
GAS is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with GAS; see the file COPYING. If not, write to the Free
|
|
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
|
|
02110-1301, USA. */
|
|
|
|
#ifndef DW2GENCFI_H
|
|
#define DW2GENCFI_H
|
|
|
|
#include "dwarf2.h"
|
|
|
|
struct symbol;
|
|
|
|
extern const pseudo_typeS cfi_pseudo_table[];
|
|
|
|
/* cfi_finish() is called at the end of file. It will complain if
|
|
the last CFI wasn't properly closed by .cfi_endproc. */
|
|
extern void cfi_finish (void);
|
|
|
|
/* Entry points for backends to add unwind information. */
|
|
extern void cfi_new_fde (struct symbol *);
|
|
extern void cfi_end_fde (struct symbol *);
|
|
extern void cfi_set_return_column (unsigned);
|
|
extern void cfi_add_advance_loc (struct symbol *);
|
|
|
|
extern void cfi_add_CFA_offset (unsigned, offsetT);
|
|
extern void cfi_add_CFA_def_cfa (unsigned, offsetT);
|
|
extern void cfi_add_CFA_register (unsigned, unsigned);
|
|
extern void cfi_add_CFA_def_cfa_register (unsigned);
|
|
extern void cfi_add_CFA_def_cfa_offset (offsetT);
|
|
extern void cfi_add_CFA_restore (unsigned);
|
|
extern void cfi_add_CFA_undefined (unsigned);
|
|
extern void cfi_add_CFA_same_value (unsigned);
|
|
extern void cfi_add_CFA_remember_state (void);
|
|
extern void cfi_add_CFA_restore_state (void);
|
|
|
|
#endif /* DW2GENCFI_H */
|