1146895Skan/* Backward compatibility unwind routines.
2146895Skan   Copyright (C) 2004
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#define symver(name, version) \
32146895Skan  __asm__ (".symver " #name"," #name "@" #version)
33146895Skan
34146895Skan#define alias(name) \
35146895Skan  __typeof(name) __libunwind##name __attribute__ ((alias (#name)))
36