1146895Skan/* Backward compatibility unwind routines.
2169689Skan   Copyright (C) 2004, 2005
3146895Skan   Free Software Foundation, Inc.
4146895Skan
5146895Skan   This file is part of GCC.
6146895Skan
7146895Skan   GCC is free software; you can redistribute it and/or modify it
8146895Skan   under the terms of the GNU General Public License as published by
9146895Skan   the Free Software Foundation; either version 2, or (at your option)
10146895Skan   any later version.
11146895Skan
12146895Skan   In addition to the permissions in the GNU General Public License, the
13146895Skan   Free Software Foundation gives you unlimited permission to link the
14146895Skan   compiled version of this file into combinations with other programs,
15146895Skan   and to distribute those combinations without any restriction coming
16146895Skan   from the use of this file.  (The General Public License restrictions
17146895Skan   do apply in other respects; for example, they cover modification of
18146895Skan   the file, and distribution when not linked into a combined
19146895Skan   executable.)
20146895Skan
21146895Skan   GCC is distributed in the hope that it will be useful, but WITHOUT
22146895Skan   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23146895Skan   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
24146895Skan   License for more details.
25146895Skan
26146895Skan   You should have received a copy of the GNU General Public License
27146895Skan   along with GCC; see the file COPYING.  If not, write to the Free
28169689Skan   Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
29169689Skan   02110-1301, USA.  */
30146895Skan
31146895Skan#if defined (USE_GAS_SYMVER) && defined (USE_LIBUNWIND_EXCEPTIONS)
32169689Skan#include "tconfig.h"
33169689Skan#include "tsystem.h"
34146895Skan#include "unwind.h"
35146895Skan#include "unwind-dw2-fde.h"
36146895Skan#include "unwind-compat.h"
37146895Skan
38146895Skanextern const fde * __libunwind__Unwind_Find_FDE
39146895Skan  (void *, struct dwarf_eh_bases *);
40146895Skan
41146895Skanconst fde *
42146895Skan_Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
43146895Skan{
44146895Skan  __libunwind__Unwind_Find_FDE (pc, bases);
45146895Skan}
46146895Skan
47146895Skansymver (_Unwind_Find_FDE, GCC_3.0);
48146895Skan#endif
49