Commit | Line | Data |
---|---|---|
8ad2a31d SC |
1 | #ifndef _SECLET_H |
2 | #define _SECLET_H | |
e98e6ec1 SC |
3 | typedef enum |
4 | { | |
5 | ||
6 | bfd_indirect_seclet, | |
267998d8 | 7 | bfd_fill_seclet |
e98e6ec1 SC |
8 | } bfd_seclet_enum_type; |
9 | ||
10 | ||
11 | struct bfd_seclet_struct | |
12 | { | |
13 | struct bfd_seclet_struct *next; | |
14 | bfd_seclet_enum_type type; | |
15 | unsigned int offset; | |
16 | unsigned int size; | |
17 | union | |
18 | { | |
19 | struct | |
20 | { | |
21 | asection *section; | |
22 | asymbol **symbols; | |
e98e6ec1 | 23 | } indirect; |
267998d8 SC |
24 | struct { |
25 | int value; | |
26 | } fill; | |
e98e6ec1 SC |
27 | } |
28 | u; | |
29 | }; | |
30 | ||
31 | typedef struct bfd_seclet_struct bfd_seclet_type; | |
32 | ||
33 | bfd_seclet_type *EXFUN(bfd_new_seclet,(bfd*,asection*)); | |
8ad2a31d | 34 | #endif |