(int64e_type): Fix definition.
[deliverable/binutils-gdb.git] / bfd / seclet.h
... / ...
CommitLineData
1/* Definitions of little sections (seclets) for BFD.
2 Copyright 1992 Free Software Foundation, Inc.
3 Hacked by Steve Chamberlain of Cygnus Support.
4
5This file is part of BFD, the Binary File Descriptor library.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
20
21#ifndef _SECLET_H
22#define _SECLET_H
23
24enum bfd_seclet_enum
25{
26 bfd_indirect_seclet,
27 bfd_fill_seclet
28};
29
30struct 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
50typedef struct bfd_seclet bfd_seclet_type;
51
52bfd_seclet_type *
53bfd_new_seclet PARAMS ((bfd *, asection *));
54
55#endif
This page took 0.022787 seconds and 4 git commands to generate.