1*fae548d3Szrj /* unwind-ia64.h -- dump IA-64 unwind info. 2*fae548d3Szrj Copyright (C) 2000-2020 Free Software Foundation, Inc. 3*fae548d3Szrj Contributed by David Mosberger-Tang <davidm@hpl.hp.com> 4*fae548d3Szrj 5*fae548d3Szrj This file is part of GNU Binutils. 6*fae548d3Szrj 7*fae548d3Szrj This program is free software; you can redistribute it and/or modify 8*fae548d3Szrj it under the terms of the GNU General Public License as published by 9*fae548d3Szrj the Free Software Foundation; either version 3, or (at your option) 10*fae548d3Szrj any later version. 11*fae548d3Szrj 12*fae548d3Szrj This program is distributed in the hope that it will be useful, 13*fae548d3Szrj but WITHOUT ANY WARRANTY; without even the implied warranty of 14*fae548d3Szrj MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*fae548d3Szrj GNU General Public License for more details. 16*fae548d3Szrj 17*fae548d3Szrj You should have received a copy of the GNU General Public License 18*fae548d3Szrj along with this program; if not, write to the Free Software 19*fae548d3Szrj Foundation, 51 Franklin Street - Fifth Floor, Boston, 20*fae548d3Szrj MA 02110-1301, USA. */ 21*fae548d3Szrj 22*fae548d3Szrj #include "elf/ia64.h" 23*fae548d3Szrj #include "ansidecl.h" 24*fae548d3Szrj 25*fae548d3Szrj #define UNW_VER(x) ((x) >> 48) 26*fae548d3Szrj #define UNW_FLAG_MASK 0x0000ffff00000000LL 27*fae548d3Szrj #define UNW_FLAG_OSMASK 0x0000f00000000000LL 28*fae548d3Szrj #define UNW_FLAG_EHANDLER(x) ((x) & 0x0000000100000000LL) 29*fae548d3Szrj #define UNW_FLAG_UHANDLER(x) ((x) & 0x0000000200000000LL) 30*fae548d3Szrj #define UNW_LENGTH(x) ((x) & 0x00000000ffffffffLL) 31*fae548d3Szrj 32*fae548d3Szrj extern const unsigned char *unw_decode (const unsigned char *, int, void *, const unsigned char *); 33