xref: /netbsd-src/external/gpl3/gcc.old/dist/libgcc/unwind-compat.h (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg /* Backward compatibility unwind routines.
2*8feb0f0bSmrg    Copyright (C) 2004-2020 Free Software Foundation, Inc.
31debfc3dSmrg 
41debfc3dSmrg    This file is part of GCC.
51debfc3dSmrg 
61debfc3dSmrg    GCC is free software; you can redistribute it and/or modify it
71debfc3dSmrg    under the terms of the GNU General Public License as published by
81debfc3dSmrg    the Free Software Foundation; either version 3, or (at your option)
91debfc3dSmrg    any later version.
101debfc3dSmrg 
111debfc3dSmrg    GCC is distributed in the hope that it will be useful, but WITHOUT
121debfc3dSmrg    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
131debfc3dSmrg    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
141debfc3dSmrg    License for more details.
151debfc3dSmrg 
161debfc3dSmrg    Under Section 7 of GPL version 3, you are granted additional
171debfc3dSmrg    permissions described in the GCC Runtime Library Exception, version
181debfc3dSmrg    3.1, as published by the Free Software Foundation.
191debfc3dSmrg 
201debfc3dSmrg    You should have received a copy of the GNU General Public License and
211debfc3dSmrg    a copy of the GCC Runtime Library Exception along with this program;
221debfc3dSmrg    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
231debfc3dSmrg    <http://www.gnu.org/licenses/>.  */
241debfc3dSmrg 
251debfc3dSmrg #define symver(name, version) \
261debfc3dSmrg   __asm__ (".symver " #name"," #name "@" #version)
271debfc3dSmrg 
281debfc3dSmrg #define alias(name) \
291debfc3dSmrg   __typeof(name) __libunwind##name __attribute__ ((alias (#name)))
30