1992-09-25 18:14:29 +00:00
|
|
|
#ifndef _SECLET_H
|
|
|
|
#define _SECLET_H
|
1992-01-24 22:44:51 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
|
|
|
|
bfd_indirect_seclet,
|
1992-04-17 16:14:34 +00:00
|
|
|
bfd_fill_seclet
|
1992-01-24 22:44:51 +00:00
|
|
|
} bfd_seclet_enum_type;
|
|
|
|
|
|
|
|
|
|
|
|
struct bfd_seclet_struct
|
|
|
|
{
|
|
|
|
struct bfd_seclet_struct *next;
|
|
|
|
bfd_seclet_enum_type type;
|
|
|
|
unsigned int offset;
|
|
|
|
unsigned int size;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
asection *section;
|
|
|
|
asymbol **symbols;
|
|
|
|
} indirect;
|
1992-04-17 16:14:34 +00:00
|
|
|
struct {
|
|
|
|
int value;
|
|
|
|
} fill;
|
1992-01-24 22:44:51 +00:00
|
|
|
}
|
|
|
|
u;
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct bfd_seclet_struct bfd_seclet_type;
|
|
|
|
|
|
|
|
bfd_seclet_type *EXFUN(bfd_new_seclet,(bfd*,asection*));
|
1992-09-25 18:14:29 +00:00
|
|
|
#endif
|