178844Sobrien/* unwind-ia64.h -- dump IA-64 unwind info.
2130561Sobrien   Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
378844Sobrien	Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
478844Sobrien
578844SobrienThis file is part of GNU Binutils.
678844Sobrien
778844SobrienThis program is free software; you can redistribute it and/or modify
878844Sobrienit under the terms of the GNU General Public License as published by
978844Sobrienthe Free Software Foundation; either version 2, or (at your option)
1078844Sobrienany later version.
1178844Sobrien
1278844SobrienThis program is distributed in the hope that it will be useful,
1378844Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1478844SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1578844SobrienGNU General Public License for more details.
1678844Sobrien
1778844SobrienYou should have received a copy of the GNU General Public License
1878844Sobrienalong with this program; if not, write to the Free Software
19218822SdimFoundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
2078844Sobrien
21104834Sobrien#include "elf/ia64.h"
22104834Sobrien#include "ansidecl.h"
2378844Sobrien
2478844Sobrien#define UNW_VER(x)		((x) >> 48)
25130561Sobrien#define UNW_FLAG_MASK		0x0000ffff00000000LL
26130561Sobrien#define UNW_FLAG_OSMASK		0x0000f00000000000LL
27130561Sobrien#define UNW_FLAG_EHANDLER(x)	((x) & 0x0000000100000000LL)
28130561Sobrien#define UNW_FLAG_UHANDLER(x)	((x) & 0x0000000200000000LL)
29130561Sobrien#define UNW_LENGTH(x)		((x) & 0x00000000ffffffffLL)
3078844Sobrien
31130561Sobrienextern const unsigned char *unw_decode (const unsigned char *, int, void *);
32