z8kgen: temp file to generate z8k-opc.h from
[external/binutils.git] / bfd / seclet.h
1 typedef enum 
2 {
3   
4   bfd_indirect_seclet,
5   bfd_fill_seclet
6 } bfd_seclet_enum_type;
7
8
9 struct bfd_seclet_struct 
10 {
11   struct bfd_seclet_struct *next;
12   bfd_seclet_enum_type type;
13   unsigned int offset;  
14   unsigned int size;
15   union 
16   {
17     struct 
18     {
19       asection *section;
20       asymbol **symbols;
21     } indirect;
22     struct {
23       int value;
24     } fill;
25   }
26   u;
27 };
28
29 typedef struct bfd_seclet_struct bfd_seclet_type;
30
31 bfd_seclet_type *EXFUN(bfd_new_seclet,(bfd*,asection*));