chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / sysdeps / generic / gccframe.h
1 /* Definition of object in frame unwind info.  Generic version.
2    Copyright (C) 2000, 2001 Free Software Foundation, Inc.
3    This file is part of the GNU C Library.
4
5    The GNU C Library is free software; you can redistribute it and/or
6    modify it under the terms of the GNU Lesser General Public
7    License as published by the Free Software Foundation; either
8    version 2.1 of the License, or (at your option) any later version.
9
10    The GNU C Library is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    Lesser General Public License for more details.
14
15    You should have received a copy of the GNU Lesser General Public
16    License along with the GNU C Library; if not, write to the Free
17    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18    02111-1307 USA.  */
19
20 #include <sys/types.h>
21
22 struct dwarf_fde;
23 struct fde_vector;
24
25 struct object
26 {
27   void *pc_begin;
28   void *tbase;
29   void *dbase;
30   union {
31     struct dwarf_fde *single;
32     struct dwarf_fde **array;
33     struct fde_vector *sort;
34   } u;
35
36   union {
37     struct {
38       unsigned long sorted : 1;
39       unsigned long from_array : 1;
40       unsigned long mixed_encoding : 1;
41       unsigned long encoding : 8;
42       /* ??? Wish there was an easy way to detect a 64-bit host here;
43          we've got 32 bits left to play with... */
44       unsigned long count : 21;
45     } b;
46     size_t i;
47   } s;
48
49   struct object *next;
50 };