2005-04-05 Andrew MacLeod <amacleod@redhat.com>
[official-gcc.git] / gcc / unwind-dw2-fde-compat.c
blob5e8c0a30c65fe1d0f5003cfd09707bc7ca1e51c2
1 /* Backward compatibility unwind routines.
2 Copyright (C) 2004
3 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 In addition to the permissions in the GNU General Public License, the
13 Free Software Foundation gives you unlimited permission to link the
14 compiled version of this file into combinations with other programs,
15 and to distribute those combinations without any restriction coming
16 from the use of this file. (The General Public License restrictions
17 do apply in other respects; for example, they cover modification of
18 the file, and distribution when not linked into a combined
19 executable.)
21 GCC is distributed in the hope that it will be useful, but WITHOUT
22 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
24 License for more details.
26 You should have received a copy of the GNU General Public License
27 along with GCC; see the file COPYING. If not, write to the Free
28 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
29 02111-1307, USA. */
31 #if defined (USE_GAS_SYMVER) && defined (USE_LIBUNWIND_EXCEPTIONS)
32 #include "unwind.h"
33 #include "unwind-dw2-fde.h"
34 #include "unwind-compat.h"
36 extern const fde * __libunwind__Unwind_Find_FDE
37 (void *, struct dwarf_eh_bases *);
39 const fde *
40 _Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
42 __libunwind__Unwind_Find_FDE (pc, bases);
45 symver (_Unwind_Find_FDE, GCC_3.0);
46 #endif