|
Packit Service |
82fcde |
/* Definitions for unwind-resume.c. ARM (EABI) version.
|
|
Packit Service |
82fcde |
Copyright (C) 2015-2018 Free Software Foundation, Inc.
|
|
Packit Service |
82fcde |
This file is part of the GNU C Library.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
82fcde |
modify it under the terms of the GNU Lesser General Public License as
|
|
Packit Service |
82fcde |
published by the Free Software Foundation; either version 2.1 of the
|
|
Packit Service |
82fcde |
License, or (at your option) any later version.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
82fcde |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
82fcde |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
82fcde |
Lesser General Public License for more details.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License along with the GNU C Library; see the file COPYING.LIB. If
|
|
Packit Service |
82fcde |
not, see <http://www.gnu.org/licenses/>. */
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* The EABI personality routine has a different signature than the
|
|
Packit Service |
82fcde |
canonical one. These macros tell sysdeps/gnu/unwind*.c how to
|
|
Packit Service |
82fcde |
define __gcc_personality_v0. */
|
|
Packit Service |
82fcde |
#define PERSONALITY_PROTO \
|
|
Packit Service |
82fcde |
(_Unwind_State state, \
|
|
Packit Service |
82fcde |
struct _Unwind_Exception *ue_header, \
|
|
Packit Service |
82fcde |
struct _Unwind_Context *context)
|
|
Packit Service |
82fcde |
#define PERSONALITY_ARGS \
|
|
Packit Service |
82fcde |
(state, ue_header, context)
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* It's vitally important that _Unwind_Resume not have a stack frame; the
|
|
Packit Service |
82fcde |
ARM unwinder relies on register state at entrance. So we write this in
|
|
Packit Service |
82fcde |
assembly (see arm-unwind-resume.S). This macro tells the generic code
|
|
Packit Service |
82fcde |
not to provide the generic C definition. */
|
|
Packit Service |
82fcde |
#define HAVE_ARCH_UNWIND_RESUME 1
|