Add sysdeps/init_array to produce empty crt[in].o and use .preinit_array for gcrt1.o
[glibc.git] / sysdeps / generic / gccframe.h
blob80236f090311babe8455c4d5f7dab8c15e64f2c9
1 /* Definition of object in frame unwind info. Generic version.
2 Copyright (C) 2000-2013 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
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.
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.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #include <sys/types.h>
21 struct dwarf_fde;
22 struct fde_vector;
24 struct object
26 void *pc_begin;
27 void *tbase;
28 void *dbase;
29 union {
30 struct dwarf_fde *single;
31 struct dwarf_fde **array;
32 struct fde_vector *sort;
33 } u;
35 union {
36 struct {
37 unsigned long sorted : 1;
38 unsigned long from_array : 1;
39 unsigned long mixed_encoding : 1;
40 unsigned long encoding : 8;
41 /* ??? Wish there was an easy way to detect a 64-bit host here;
42 we've got 32 bits left to play with... */
43 unsigned long count : 21;
44 } b;
45 size_t i;
46 } s;
48 struct object *next;