]>
Commit | Line | Data |
---|---|---|
443728bb L |
1 | /* Backward compatibility unwind routines. |
2 | Copyright (C) 2004 | |
3 | Free Software Foundation, Inc. | |
4 | ||
5 | This file is part of GCC. | |
6 | ||
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. | |
11 | ||
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.) | |
20 | ||
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. | |
25 | ||
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 | |
366ccddb KC |
28 | Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA |
29 | 02110-1301, USA. */ | |
443728bb L |
30 | |
31 | #define symver(name, version) \ | |
32 | __asm__ (".symver " #name"," #name "@" #version) | |
33 | ||
34 | #define alias(name) \ | |
35 | __typeof(name) __libunwind##name __attribute__ ((alias (#name))) |