(struct elf_obj_tdata): Add field `thunk'.
[deliverable/binutils-gdb.git] / bfd / seclet.h
1 /* Definitions of little sections (seclets) for BFD.
2 Copyright 1992 Free Software Foundation, Inc.
3 Hacked by Steve Chamberlain of Cygnus Support.
4
5 This file is part of BFD, the Binary File Descriptor library.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
20
21 #ifndef _SECLET_H
22 #define _SECLET_H
23
24 enum bfd_seclet_enum
25 {
26 bfd_indirect_seclet,
27 bfd_fill_seclet
28 };
29
30 struct bfd_seclet
31 {
32 struct bfd_seclet *next;
33 enum bfd_seclet_enum type;
34 unsigned int offset;
35 unsigned int size;
36 union
37 {
38 struct
39 {
40 asection *section;
41 asymbol **symbols;
42 } indirect;
43 struct {
44 int value;
45 } fill;
46 }
47 u;
48 };
49
50 typedef struct bfd_seclet bfd_seclet_type;
51
52 bfd_seclet_type *
53 bfd_new_seclet PARAMS ((bfd *, asection *));
54
55 #endif
This page took 0.030785 seconds and 4 git commands to generate.